diff --git a/lib/WebGUI/Help/Thread.pm b/lib/WebGUI/Help/Thread.pm index 4404f773f..ad705a812 100644 --- a/lib/WebGUI/Help/Thread.pm +++ b/lib/WebGUI/Help/Thread.pm @@ -13,6 +13,14 @@ our $HELP = { tag => 'post template variables', namespace => 'Post' }, + { + tag => 'collaboration template labels', + namespace => 'Collaboration' + }, + { + tag => 'pagination template variables', + namespace => 'WebGUI' + }, ] }, diff --git a/lib/WebGUI/i18n/English/Thread.pm b/lib/WebGUI/i18n/English/Thread.pm index 2e5a96e7a..8aa551398 100644 --- a/lib/WebGUI/i18n/English/Thread.pm +++ b/lib/WebGUI/i18n/English/Thread.pm @@ -8,7 +8,7 @@ our $I18N = { }, 'thread template body' => { - message => q|The following variables are available in the Thread template. + message => q|The variables below are available in the Thread template. In addition, all variables from the Post Template can be used. Labels for URLs for actions like unlock.url, stick.url, etc. are provided by the Collaboration Labels. The Pagination Template variables are also available to display multiple pages of posts and threads.

user.isVisitor
@@ -97,8 +97,73 @@ The URL to lock this thread. The URL to unlock this thread.

+post_loop
+A loop containing all the posts for this thread. Each post in the loop +also contains a set of its own Post Template variables. +

+ +

+ +isCurrent
+A conditional indicating that this Post is the one currently being viewed in the Thread. +

+ +isThreadRoot
+A conditional indicating that this Post is the start of the Thread. +

+ +depth
+How far away this post is from the originating post (ThreadRoot). +

+ +depthX10
+The depth times 10. +

+ +indent_loop
+A loop that runs depth times. +

+ +

+ +depth
+A number indicating the loop count of the indent_loop. +

+ +

+ +
+ +add.url
+The URL to add a new thread. +

+ +previous.url
+The URL to take you to the previous thread. +

+ +next.url
+The URL to take you to the next thread. +

+ +search.url
+The URL to take you to a form to search the forum. +

+ +collaboration.url
+The URL to take you back to the collaboration system that this post is a part of. +

+ +collaboration.title
+The title of the collaboration system that this post is a part of. +

+ +collaboration.description
+The description of the collaboration system that this post is a part of. +

+ |, - lastUpdated => 1111709371, + lastUpdated => 1111768115, }, };