diff --git a/lib/WebGUI/Help/Template.pm b/lib/WebGUI/Help/Template.pm
new file mode 100644
index 000000000..ee7a112f8
--- /dev/null
+++ b/lib/WebGUI/Help/Template.pm
@@ -0,0 +1,62 @@
+package WebGUI::Help::Template;
+
+our $HELP = {
+
+ 'templates manage' => {
+ title => '683',
+ body => '638',
+ related => [
+ {
+ tag => 'themes manage',
+ namespace => 'WebGUI'
+ },
+ {
+ tag => 'template add/edit',
+ namespace => 'Template'
+ },
+ {
+ tag => 'template delete',
+ namespace => 'Template'
+ },
+ {
+ tag => 'template language',
+ namespace => 'Template'
+ }
+ ]
+ },
+ 'template add/edit' => {
+ title => '684',
+ body => '639',
+ related => [
+ {
+ tag => 'templates manage',
+ namespace => 'Template'
+ }
+ ]
+ },
+
+ 'template delete' => {
+ title => '685',
+ body => '640',
+ related => [
+ {
+ tag => 'templates manage',
+ namespace => 'Template'
+ }
+ ]
+ },
+
+ 'template language' => {
+ title => '825',
+ body => '826',
+ related => [
+ {
+ tag => 'templates manage',
+ namespace => 'Template'
+ }
+ ]
+ },
+
+};
+
+1;
diff --git a/lib/WebGUI/Help/WebGUI.pm b/lib/WebGUI/Help/WebGUI.pm
index 2450b8258..b90267c1c 100644
--- a/lib/WebGUI/Help/WebGUI.pm
+++ b/lib/WebGUI/Help/WebGUI.pm
@@ -68,11 +68,11 @@ our $HELP = {
},
{
tag => 'template language',
- namespace => 'WebGUI'
+ namespace => 'Template'
},
{
tag => 'templates manage',
- namespace => 'WebGUI'
+ namespace => 'Template'
}
]
},
@@ -343,48 +343,7 @@ our $HELP = {
}
]
},
- 'templates manage' => {
- title => '683',
- body => '638',
- related => [
- {
- tag => 'themes manage',
- namespace => 'WebGUI'
- },
- {
- tag => 'template add/edit',
- namespace => 'WebGUI'
- },
- {
- tag => 'template delete',
- namespace => 'WebGUI'
- },
- {
- tag => 'template language',
- namespace => 'WebGUI'
- }
- ]
- },
- 'template add/edit' => {
- title => '684',
- body => '639',
- related => [
- {
- tag => 'templates manage',
- namespace => 'WebGUI'
- }
- ]
- },
- 'template delete' => {
- title => '685',
- body => '640',
- related => [
- {
- tag => 'templates manage',
- namespace => 'WebGUI'
- }
- ]
- },
+
'macros using' => {
title => '669',
body => '624',
@@ -461,16 +420,7 @@ our $HELP = {
}
]
},
- 'template language' => {
- title => '825',
- body => '826',
- related => [
- {
- tag => 'templates manage',
- namespace => 'WebGUI'
- }
- ]
- },
+
'wobject template' => {
title => '827',
body => '828',
@@ -521,11 +471,11 @@ our $HELP = {
},
{
tag => 'template language',
- namespace => 'WebGUI'
+ namespace => 'Template'
},
{
tag => 'templates manage',
- namespace => 'WebGUI'
+ namespace => 'Template'
},
{
tag => 'user submission system template',
@@ -543,7 +493,7 @@ our $HELP = {
},
{
tag => 'templates manage',
- namespace => 'WebGUI'
+ namespace => 'Template'
}
]
},
@@ -611,7 +561,7 @@ our $HELP = {
related => [
{
tag => 'templates manage',
- namespace => 'WebGUI'
+ namespace => 'Template'
},
{
tag => 'theme delete',
diff --git a/lib/WebGUI/i18n/English/Template.pm b/lib/WebGUI/i18n/English/Template.pm
index 78b4cd4a2..561475d56 100644
--- a/lib/WebGUI/i18n/English/Template.pm
+++ b/lib/WebGUI/i18n/English/Template.pm
@@ -31,6 +31,149 @@ our $I18N = {
lastUpdated => 1107391368,
},
+ '683' => {
+ message => q|Templates, Manage|,
+ lastUpdated => 1050430164
+ },
+
+ '638' => {
+ message => q|Templates are used to affect how content is laid out in WebGUI. There are many templates that come with WebGUI, and using the template management system, you can add your own templates to the system to ensure that your site looks exactly how you want it to look.
+|,
+ lastUpdated => 1050430164
+ },
+
+ '684' => {
+ message => q|Template, Add/Edit|,
+ lastUpdated => 1038890615
+ },
+
+ '639' => {
+ message => q|Template Name
+Give this template a descriptive name so that you'll know what it is when you're applying a template to content.
+
+ +|, + lastUpdated => 1038791020 + }, + + '825' => { + message => q|Template, Language|, + lastUpdated => 1038865669 + }, + + '826' => { + message => q|WebGUI has a powerful templating language built to give you maximum control over the layout of your content. +
NOTES:+ +<tmpl_var session.section.variable> + +
+In the examples below, please note that the words foo and bar are used as placeholders for the actual variable names that you'll use. They are not part of the template language. + + +VariablesTruth or falsehood is determined by the following rules: +
Variables not used in this template are false.
Variables which are undefined are false.
Variables which are empty are false.
Variables which are equal to zero are false.
All other variables are true.
+ <TMPL_LOOP FOO> + <TMPL_IF __FIRST__> + This only outputs on the first pass. + </TMPL_IF> + + <TMPL_IF __ODD__> + This outputs every other pass, on the odd passes. + </TMPL_IF> + + <TMPL_UNLESS __ODD__> + This outputs every other pass, on the even passes. + </TMPL_UNLESS> + + <TMPL_IF __INNER__> + This outputs on passes that are neither first nor last. + </TMPL_IF> + + <TMPL_IF __LAST__> + This only outputs on the last pass. + <TMPL_IF> + </TMPL_LOOP> ++ +|, + lastUpdated =>1106608811, + }, + }; 1; diff --git a/lib/WebGUI/i18n/English/WebGUI.pm b/lib/WebGUI/i18n/English/WebGUI.pm index 826cad791..42e6563b3 100644 --- a/lib/WebGUI/i18n/English/WebGUI.pm +++ b/lib/WebGUI/i18n/English/WebGUI.pm @@ -390,11 +390,6 @@ The URL of the web site for this theme's designer. If you are in the business of lastUpdated => 1031514049 }, - '684' => { - message => q|Template, Add/Edit|, - lastUpdated => 1038890615 - }, - '15' => { message => q|January|, lastUpdated => 1031514049 @@ -450,11 +445,6 @@ The URL of the web site for this theme's designer. If you are in the business of lastUpdated => 1031514049 }, - '825' => { - message => q|Template, Language|, - lastUpdated => 1038865669 - }, - '917' => { message => q|Add a theme component.|, lastUpdated => 1050232824 @@ -633,11 +623,6 @@ Be aware that any database links you create here will be available to all conten lastUpdated => 1035246389 }, - '685' => { - message => q|Template, Delete|, - lastUpdated => 1038791020 - }, - '21' => { message => q|July|, lastUpdated => 1031514049 @@ -869,11 +854,6 @@ How should this user be notified when they get a new WebGUI message? lastUpdated => 1031514049 }, - '683' => { - message => q|Templates, Manage|, - lastUpdated => 1050430164 - }, - '444' => { message => q|Demographic Information|, lastUpdated => 1031514049 @@ -951,12 +931,6 @@ As with any delete operation, you are prompted to be sure you wish to proceed wi lastUpdated => 1031514049 }, - '638' => { - message => q|Templates are used to affect how content is laid out in WebGUI. There are many templates that come with WebGUI, and using the template management system, you can add your own templates to the system to ensure that your site looks exactly how you want it to look. -|, - lastUpdated => 1050430164 - }, - '734' => { message => q|5 Adept|, lastUpdated => 1033836678 @@ -2242,98 +2216,6 @@ http://www.mysite.com/thisPage#94 lastUpdated => 1051464113 }, - '826' => { - message => q|WebGUI has a powerful templating language built to give you maximum control over the layout of your content. -NOTES:
- -<tmpl_var session.section.variable> - -
-In the examples below, please note that the words foo and bar are used as placeholders for the actual variable names that you'll use. They are not part of the template language. - - -VariablesTruth or falsehood is determined by the following rules: -
Variables not used in this template are false.
Variables which are undefined are false.
Variables which are empty are false.
Variables which are equal to zero are false.
All other variables are true.
- <TMPL_LOOP FOO> - <TMPL_IF __FIRST__> - This only outputs on the first pass. - </TMPL_IF> - - <TMPL_IF __ODD__> - This outputs every other pass, on the odd passes. - </TMPL_IF> - - <TMPL_UNLESS __ODD__> - This outputs every other pass, on the even passes. - </TMPL_UNLESS> - - <TMPL_IF __INNER__> - This outputs on passes that are neither first nor last. - </TMPL_IF> - - <TMPL_IF __LAST__> - This only outputs on the last pass. - <TMPL_IF> - </TMPL_LOOP> -- -|, - lastUpdated =>1106608811, - }, - '354' => { message => q|View Inbox.|, lastUpdated => 1031514049 @@ -3472,15 +3354,7 @@ The local path of the directory where attachments are to be stored. (Perhaps /va message => q|November|, lastUpdated => 1031514049 }, - - '640' => { - message => q|It is not a good idea to delete templates as you never know what kind of adverse affect it may have on your site (some content may still be using the template). -
-
-|,
- lastUpdated => 1038791020
- },
-
+
'738' => {
message => q|9 Guru|,
lastUpdated => 1033836704
@@ -4071,23 +3945,6 @@ You can search users based on username and email address. You can do partial sea
lastUpdated => 1052850265
},
- '639' => {
- message => q|Template Name
-Give this template a descriptive name so that you'll know what it is when you're applying a template to content.
-