From 354dcf497f9b91c5ee174ea3bc8a9a5f3fdad522 Mon Sep 17 00:00:00 2001 From: inga-lovinde <52715130+inga-lovinde@users.noreply.github.com> Date: Sat, 18 Sep 2010 22:23:34 +0000 Subject: [PATCH] Forum navigation improved --- Builder/IISMainHandler/build.txt | 2 +- .../handlers/response/CreateThreadHandler.cs | 1 + templates/Full/Board.xslt | 85 ------------------- templates/Full/elems/BoardHeader.xslt | 34 ++++++++ templates/Full/elems/ForumHeader.xslt | 53 ++++++++++++ templates/Full/elems/Header.xslt | 8 +- 6 files changed, 95 insertions(+), 88 deletions(-) create mode 100644 templates/Full/elems/BoardHeader.xslt create mode 100644 templates/Full/elems/ForumHeader.xslt diff --git a/Builder/IISMainHandler/build.txt b/Builder/IISMainHandler/build.txt index ca12c17..10c8942 100644 --- a/Builder/IISMainHandler/build.txt +++ b/Builder/IISMainHandler/build.txt @@ -1 +1 @@ -1404 \ No newline at end of file +1409 \ No newline at end of file diff --git a/IISMainHandler/handlers/response/CreateThreadHandler.cs b/IISMainHandler/handlers/response/CreateThreadHandler.cs index 3a6fd6c..cd195fd 100644 --- a/IISMainHandler/handlers/response/CreateThreadHandler.cs +++ b/IISMainHandler/handlers/response/CreateThreadHandler.cs @@ -22,6 +22,7 @@ namespace FLocal.IISHandler.handlers.response { Board board = this.url.board; return new XElement[] { + new XElement("currentLocation", board.exportToXmlSimpleWithParent(context)), board.exportToXml(context, Board.SubboardsOptions.None), board.exportLayersInfoForUser(context), }; diff --git a/templates/Full/Board.xslt b/templates/Full/Board.xslt index 518862a..d5da9c4 100644 --- a/templates/Full/Board.xslt +++ b/templates/Full/Board.xslt @@ -9,91 +9,6 @@ true true - - - - -
- - - - -
- - - - - -
- - - - - - - - - - - - - -
-
-
-
-
diff --git a/templates/Full/elems/BoardHeader.xslt b/templates/Full/elems/BoardHeader.xslt new file mode 100644 index 0000000..83660f5 --- /dev/null +++ b/templates/Full/elems/BoardHeader.xslt @@ -0,0 +1,34 @@ + + + + + /Forum/Board// +
+ + + +
+ + + + +
+
+
+ + diff --git a/templates/Full/elems/ForumHeader.xslt b/templates/Full/elems/ForumHeader.xslt new file mode 100644 index 0000000..1ae194e --- /dev/null +++ b/templates/Full/elems/ForumHeader.xslt @@ -0,0 +1,53 @@ + + + + + + + + + +
+ + + + +
+
+ + + +
+
+ diff --git a/templates/Full/elems/Header.xslt b/templates/Full/elems/Header.xslt index 91b4ad8..90d26ee 100644 --- a/templates/Full/elems/Header.xslt +++ b/templates/Full/elems/Header.xslt @@ -1,5 +1,6 @@ + @@ -47,8 +48,8 @@ | - /Boards/ - Список форумов + /Forum/ + Форум | @@ -147,6 +148,9 @@ + + +