From 3b02ae845ee013f5176d76bb9d8533e9220f65fc Mon Sep 17 00:00:00 2001 From: inga-lovinde <52715130+inga-lovinde@users.noreply.github.com> Date: Mon, 30 Aug 2010 17:36:10 +0000 Subject: [PATCH] Implemented discussion link --- Builder/IISMainHandler/build.txt | 2 +- .../handlers/response/BoardAsThread.cs | 9 +++- templates/Full/elems/PostInfo.xslt | 41 +++++++++++++++++++ templates/Lite/elems/PostInfo.xslt | 32 +++++++++++++++ 4 files changed, 82 insertions(+), 2 deletions(-) diff --git a/Builder/IISMainHandler/build.txt b/Builder/IISMainHandler/build.txt index dcdf7f5..db8b695 100644 --- a/Builder/IISMainHandler/build.txt +++ b/Builder/IISMainHandler/build.txt @@ -1 +1 @@ -942 \ No newline at end of file +948 \ No newline at end of file diff --git a/IISMainHandler/handlers/response/BoardAsThread.cs b/IISMainHandler/handlers/response/BoardAsThread.cs index 5ef9b61..ac68fd2 100644 --- a/IISMainHandler/handlers/response/BoardAsThread.cs +++ b/IISMainHandler/handlers/response/BoardAsThread.cs @@ -34,7 +34,14 @@ namespace FLocal.IISHandler.handlers.response { new XElement("currentLocation", board.exportToXmlSimpleWithParent(context)), new XElement("boards", from subBoard in board.subBoards select subBoard.exportToXml(context, true)), new XElement("posts", - from thread in threads select thread.firstPost.exportToXml(context, true), + from thread in threads select thread.firstPost.exportToXml( + context, + false, + new XElement( + "specific", + thread.exportToXml(context) + ) + ), pageOuter.exportToXml(1, 5, 1) ) }; diff --git a/templates/Full/elems/PostInfo.xslt b/templates/Full/elems/PostInfo.xslt index 706e269..afc176e 100644 --- a/templates/Full/elems/PostInfo.xslt +++ b/templates/Full/elems/PostInfo.xslt @@ -158,4 +158,45 @@ + + + + + + + /Thread/ + + / + + p + + + + + + ╬сёєцфхэшх ¤Єюую ёююс∙хэш  + + + ═рўрЄ№ юсёєцфхэшх + + + + + + + + + /do/MarkThreadAsRead//p/ + + () + + + +
+
+
+ + +
+ \ No newline at end of file diff --git a/templates/Lite/elems/PostInfo.xslt b/templates/Lite/elems/PostInfo.xslt index 7c4b11c..4b8ca58 100644 --- a/templates/Lite/elems/PostInfo.xslt +++ b/templates/Lite/elems/PostInfo.xslt @@ -64,4 +64,36 @@ + + + + (* + + ) + + + + + + + + /Thread/ + + / + + p + + + + + + Обсуждение этого сообщения + + + Начать обсуждение + + + + + \ No newline at end of file