From 17fa32e3f2fc6d3a3e4128579a71115c81b38211 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Fri, 19 Jan 2007 22:06:28 +0000 Subject: [PATCH] note that templates have different template variables, based on their namespace --- lib/WebGUI/i18n/English/Asset_Template.pm | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/lib/WebGUI/i18n/English/Asset_Template.pm b/lib/WebGUI/i18n/English/Asset_Template.pm index 9efbcf6c6..7fa97770c 100644 --- a/lib/WebGUI/i18n/English/Asset_Template.pm +++ b/lib/WebGUI/i18n/English/Asset_Template.pm @@ -304,13 +304,23 @@ Any scratch variables will be available in the template with this syntax:
'template variable body' => { message => q| -

These variables are available in any template, regardless of its type -or what namespace it lives in. The session variables are deprecated.

-

NOTE: The syntax for these variables is shown in WebGUI's default template language, HTML::Template. If the Template Type -has been set to some other language you will need to consult that template's documentation for the appropriate syntax for its variables.

. +

Each template has access two kinds of variables. The first kind is specific to the kind, +or namespace, of the template. Article templates have different variables from Poll templates. +Even inside of an Asset there can be several kinds of template, each with its own set of +template variables. The Collaboration System alone uses 5 templates to style user notification, +editing posts, displaying threads and other tasks.

+

The second kind of variables are available in every template, regardless of its type +or what namespace it lives in. These common variables are listed below.

+

NOTES:
+

+

. |, - lastUpdated => 1150827247, + lastUpdated => 1169243386, }, 'site name' => {