From 25e9b52948c9d85b4cc46ae961eb0ad26fb68472 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Sun, 10 Dec 2006 23:01:04 +0000 Subject: [PATCH] documented all common sets of template variables --- lib/WebGUI/Help/Asset_WikiMaster.pm | 88 +++++++++++++++++++ lib/WebGUI/i18n/English/Asset_WikiMaster.pm | 96 +++++++++++++++++++++ 2 files changed, 184 insertions(+) diff --git a/lib/WebGUI/Help/Asset_WikiMaster.pm b/lib/WebGUI/Help/Asset_WikiMaster.pm index 40b102f0f..6a7822f86 100644 --- a/lib/WebGUI/Help/Asset_WikiMaster.pm +++ b/lib/WebGUI/Help/Asset_WikiMaster.pm @@ -100,6 +100,94 @@ our $HELP = { ], }, + 'wiki master search box variables' => { + title => 'search box variables title', + body => 'search box variables body', + isa => [ + ], + variables => [ + { + 'name' => 'searchFormHeader', + }, + { + 'name' => 'searchQuery', + }, + { + 'name' => 'searchSubmit', + }, + { + 'name' => 'searchFormFooter', + }, + ], + fields => [ + ], + related => [ + ], + }, + + 'wiki master recent changes' => { + title => 'recent changes variables title', + body => 'recent changes variables body', + isa => [ + ], + variables => [ + { + 'name' => 'recentChanges', + 'variables' => [ + { + 'name' => 'title', + 'description' => 'recent changes title', + }, + { + 'name' => 'url', + 'description' => 'recent changes url', + }, + { + 'name' => 'actionTaken', + }, + { + 'name' => 'username', + 'description' => 'recent changes username', + }, + { + 'name' => 'date', + 'description' => 'recent changes date', + }, + ] + }, + ], + fields => [ + ], + related => [ + ], + }, + + 'wiki master most popular' => { + title => 'most popular variables title', + body => 'most popular variables body', + isa => [ + ], + variables => [ + { + 'name' => 'mostPopular', + 'variables' => [ + { + 'name' => 'title', + 'description' => 'most popular title', + }, + { + 'name' => 'url', + 'description' => 'most popular url', + }, + ] + }, + ], + fields => [ + ], + related => [ + ], + }, + }; 1; diff --git a/lib/WebGUI/i18n/English/Asset_WikiMaster.pm b/lib/WebGUI/i18n/English/Asset_WikiMaster.pm index 7d248e26d..fdb3d2650 100644 --- a/lib/WebGUI/i18n/English/Asset_WikiMaster.pm +++ b/lib/WebGUI/i18n/English/Asset_WikiMaster.pm @@ -133,6 +133,102 @@ our $I18N = lastUpdated => 1165732631, }, + 'search box variables title' => { + message => q|Wiki Master, Search Box Variables|, + lastUpdated => 1165790228, + }, + + 'search box variables body' => { + message => q|

These variables are available in many Wiki templates for creating a search box.

|, + lastUpdated => 1165790228, + }, + + 'searchFormHeader' => { + message => q|HTML code to start the form for the search box.|, + lastUpdated => 1165790228, + }, + + 'searchQuery' => { + message => q|HTML code for a text box to enter in search terms.|, + lastUpdated => 1165790228, + }, + + 'searchSubmit' => { + message => q|A submit button with an internationalized label to perform the search.|, + lastUpdated => 1165790228, + }, + + 'searchFormFooter' => { + message => q|HTML code to end the form for the search box.|, + lastUpdated => 1165790228, + }, + + 'recent changes variables title' => { + message => q|Wiki Master, Recent Changes Variables|, + lastUpdated => 1165790228, + }, + + 'recent changes variables body' => { + message => q|

These variables are available in many Wiki templates for displaying links to recently changed wiki pages.

|, + lastUpdated => 1165790228, + }, + + 'recentChanges' => { + message => q|This loop contains information about wiki pages that have been recently changed. The number of recently changed pages is determined in the Wiki Add/Edit screen.|, + lastUpdated => 1165790228, + }, + + 'recent changes title' => { + message => q|The title of the recently changed page.|, + lastUpdated => 1165790228, + }, + + 'recent changes url' => { + message => q|The url of the recently changed page.|, + lastUpdated => 1165790228, + }, + + 'actionTaken' => { + message => q|What happened to this recently changed page, typically this is either "Edited" or "Created".|, + lastUpdated => 1165790228, + context => q|The Edited and Created words in the message are internationalized. Please translate them.|, + }, + + 'recent changes username' => { + message => q|The name of the user who changed the page, recently.|, + lastUpdated => 1165790228, + }, + + 'recent changes date' => { + message => q|The date when the page was changed.|, + lastUpdated => 1165790228, + }, + + 'most popular variables title' => { + message => q|Wiki Master, Most Popular Variables|, + lastUpdated => 1165790228, + }, + + 'most popular variables body' => { + message => q|

These variables are available in many Wiki templates for displaying links to the wiki pages that are most popular.

|, + lastUpdated => 1165790228, + }, + + 'mostPopular' => { + message => q|This loop contains information about wiki pages that are the most popular. The number of pages displayed is determined in the Wiki Add/Edit screen.|, + lastUpdated => 1165790228, + }, + + 'most popular title' => { + message => q|The title of a page from the set of most popular pages.|, + lastUpdated => 1165790228, + }, + + 'most popular url' => { + message => q|The url of a page from the set of most popular pages.|, + lastUpdated => 1165790228, + }, + }; 1;