From 7c9ddf80330965e93f3d227459e13b00b73a6977 Mon Sep 17 00:00:00 2001 From: inga-lovinde <52715130+inga-lovinde@users.noreply.github.com> Date: Mon, 20 Sep 2010 17:12:51 +0000 Subject: [PATCH] Boards/threads navigation improved --- Builder/IISMainHandler/build.txt | 2 +- Common/dataobjects/Thread.cs | 1 + templates/Full/Post.xslt | 8 ++++---- templates/Full/Thread.xslt | 8 ++++---- templates/Full/elems/BoardHeader.xslt | 15 ++++++++++++++- templates/Full/elems/ForumHeader.xslt | 27 +++++++++++++++++++++------ templates/Full/elems/Header.xslt | 3 ++- 7 files changed, 47 insertions(+), 17 deletions(-) diff --git a/Builder/IISMainHandler/build.txt b/Builder/IISMainHandler/build.txt index 039a4fd..0e8ebf5 100644 --- a/Builder/IISMainHandler/build.txt +++ b/Builder/IISMainHandler/build.txt @@ -1 +1 @@ -1467 \ No newline at end of file +1476 \ No newline at end of file diff --git a/Common/dataobjects/Thread.cs b/Common/dataobjects/Thread.cs index 7d77596..97584f9 100644 --- a/Common/dataobjects/Thread.cs +++ b/Common/dataobjects/Thread.cs @@ -184,6 +184,7 @@ namespace FLocal.Common.dataobjects { return new XElement("thread", new XElement("id", this.id), new XElement("name", this.title), + new XElement("nameTranslit", this.titleTranslit), new XElement("parent", this.board.exportToXmlSimpleWithParent(context)) ); } diff --git a/templates/Full/Post.xslt b/templates/Full/Post.xslt index 8fa0af5..3f23e0b 100644 --- a/templates/Full/Post.xslt +++ b/templates/Full/Post.xslt @@ -7,10 +7,10 @@ true - +
@@ -22,10 +22,10 @@
-
+
diff --git a/templates/Full/Thread.xslt b/templates/Full/Thread.xslt index 3cf0169..b9bf3d8 100644 --- a/templates/Full/Thread.xslt +++ b/templates/Full/Thread.xslt @@ -9,10 +9,10 @@ true 0-reversed - +
@@ -48,10 +48,10 @@
-
+
diff --git a/templates/Full/elems/BoardHeader.xslt b/templates/Full/elems/BoardHeader.xslt index d730fe3..807ba4b 100644 --- a/templates/Full/elems/BoardHeader.xslt +++ b/templates/Full/elems/BoardHeader.xslt @@ -2,7 +2,7 @@ - /Forum/Board/-/ + /Forum/Board/-/
@@ -23,6 +23,19 @@ NewThread/ Новая тема + + | + + Thread/-/ + + + Posts/p + + + + + +
diff --git a/templates/Full/elems/ForumHeader.xslt b/templates/Full/elems/ForumHeader.xslt index 3adefbc..d5a8082 100644 --- a/templates/Full/elems/ForumHeader.xslt +++ b/templates/Full/elems/ForumHeader.xslt @@ -32,12 +32,9 @@ true - + | - - /Forum/Board/-/ - - + @@ -45,9 +42,27 @@ - +
+ + + + + /Forum/Board/-/ + + + + + + + + + /Forum/Board/-/ + + + +
diff --git a/templates/Full/elems/Header.xslt b/templates/Full/elems/Header.xslt index 90d26ee..88e54cf 100644 --- a/templates/Full/elems/Header.xslt +++ b/templates/Full/elems/Header.xslt @@ -13,9 +13,10 @@ + - ? + ? currentLink