From 5aa21faaa3b350e76eb80f91d55aca48433f78ea Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Mon, 26 Feb 2007 17:31:08 +0000 Subject: [PATCH] fixed two outdated doc bugs --- docs/changelog/7.x.x.txt | 2 ++ lib/WebGUI/i18n/English/Macro_Env.pm | 5 ++--- lib/WebGUI/i18n/English/Template_TemplateToolkit.pm | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 53eaa26fa..1d506b04a 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -4,6 +4,8 @@ - rfe: Weather-Data not only for US-Cities - rfe: WeatherData Asset - Convert to International format - fix: Off by 1 error while displaying ad impressions (perlDreamer Consulting, LLC) + - fix: Wrong link in template toolkit help (perlDreamer Consulting, LLC) + - fix: Outdated info in Env macro help (perlDreamer Consulting, LLC) 7.3.10 - fix: Calendar Update Feeds now handles iCalendar "DURATION" field diff --git a/lib/WebGUI/i18n/English/Macro_Env.pm b/lib/WebGUI/i18n/English/Macro_Env.pm index 38a6821fa..00aca55d2 100644 --- a/lib/WebGUI/i18n/English/Macro_Env.pm +++ b/lib/WebGUI/i18n/English/Macro_Env.pm @@ -15,15 +15,14 @@ our $I18N = { 'env body' => { message => q|

^Env();
-Can be used to display a web server environment variable on a page. The environment variables available on each server are different, but you can find out which ones your web server has by going to: http://www.yourwebguisite.com/env.pl -

+Can be used to display a web server environment variable on a page. The environment variables available on each server are different. Please consult the documentation for your server for a list of them.

The macro should be specified like this ^Env("REMOTE_ADDR");

This Macro may be nested inside other Macros if the text returned does not contain commas or quotes.

|, - lastUpdated => 1168558879, + lastUpdated => 1172510936, }, }; diff --git a/lib/WebGUI/i18n/English/Template_TemplateToolkit.pm b/lib/WebGUI/i18n/English/Template_TemplateToolkit.pm index 7c2e6dabd..36c658580 100644 --- a/lib/WebGUI/i18n/English/Template_TemplateToolkit.pm +++ b/lib/WebGUI/i18n/English/Template_TemplateToolkit.pm @@ -8,10 +8,10 @@ our $I18N = { }, 'template toolkit body' => { - message => q|

Template Toolkit is is a collection of modules which implement a fast, flexible, powerful and extensible template processing system. Documentation for Template Toolkit is available online.

+ message => q|

Template Toolkit is is a collection of modules which implement a fast, flexible, powerful and extensible template processing system. Documentation for Template Toolkit is available online.

The syntax of template variables in Template Toolkit is slightly different from HTML Template. Any WebGUI template variables that contains a dot '.', should be changed to use an underscore instead '_'.

|, - lastUpdated => 1167193204, + lastUpdated => 1172510557, context => q|Explanation of Template Toolkit usage in WebGUI.| },