From 8951490bca70771a15ec6ff4e1346a3705a5a44f Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Wed, 15 Dec 2004 22:10:49 +0000 Subject: [PATCH] Session variables moved to different location --- lib/WebGUI/i18n/English/WebGUI.pm | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/lib/WebGUI/i18n/English/WebGUI.pm b/lib/WebGUI/i18n/English/WebGUI.pm index 0fd67a96e..e787d0d36 100644 --- a/lib/WebGUI/i18n/English/WebGUI.pm +++ b/lib/WebGUI/i18n/English/WebGUI.pm @@ -2127,16 +2127,16 @@ The the content on the current page. Tags that WebGUI automatically generates for you so that caching works the way it should, search engines can find you better, and other useful automated functionality. This should go in the <head> </head> section of your style.

-In addition to the above tags all of the session variables are made available to you just like any other template. We suggest using something like this in the <title> </title> portion of your style: +We suggest using something like this in the <title> </title> portion of your style:

<tmpl_var session.page.title> - <tmpl_var session.setting.companyName>

-Following a guide like the above will help you get good ranking on search engines. +That particular example will help you get good ranking on search engines. |, - lastUpdated => 1101775312, + lastUpdated => 1102702313, }, '860' => { @@ -2907,11 +2907,18 @@ http://www.mysite.com/thisPage#94 }, '826' => { - message => q|WebGUI has a powerful templating language built to give you maximum control over the layout of your content. The following is a list of the template language syntax. + message => q|WebGUI has a powerful templating language built to give you maximum control over the layout of your content.

NOTES:
Both the template language and template variables are case-insensitive.

-Please note that the words foo and bar are used below as placeholders for the actual variable names that you'll use. They are not part of the template language. +Session Variables
+In addition to any variables defined in a given template, of the session variables are made available to you with this syntax: +

+ +<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.

Variables
@@ -2979,7 +2986,7 @@ Loops come with special condition variables of their own. They are __FIRST__, __

|, - lastUpdated =>1095829149 + lastUpdated =>1102704289, }, '354' => {