diff --git a/lib/WebGUI/Help/Asset_WikiMaster.pm b/lib/WebGUI/Help/Asset_WikiMaster.pm index 2bf59429d..3e5cf6b59 100644 --- a/lib/WebGUI/Help/Asset_WikiMaster.pm +++ b/lib/WebGUI/Help/Asset_WikiMaster.pm @@ -388,6 +388,78 @@ our $HELP = { ], }, + 'search template' => { + title => 'search template title', + body => 'search template body', + isa => [ + { + namespace => "Asset_WikiMaster", + tag => "wiki master search box variables" + }, + ], + variables => [ + { + 'name' => 'searchLabel', + 'description' => 'searchLabel variable', + }, + { + 'name' => 'searchLabelUrl', + }, + { + 'name' => 'wikiHomeLabel', + 'description' => 'wikiHomeLabel variable', + }, + { + 'name' => 'wikiHomeUrl', + }, + { + 'name' => 'mostPopularUrl', + }, + { + 'name' => 'mostPopularLabel', + }, + { + 'name' => 'recentChangesUrl', + }, + { + 'name' => 'recentChangesLabel', + }, + { + 'name' => 'resultsLabel', + }, + { + 'name' => 'notWhatYouWanted variable', + }, + { + 'name' => 'nothingFoundLabel variable', + }, + { + 'name' => 'addPageUrl', + }, + { + 'name' => 'addPageLabel', + }, + { + 'name' => 'performSearch', + }, + { + 'name' => 'searchResults', + variables => [ + { + 'name' => 'search url variable', + }, + { + 'name' => 'search title variable', + }, + ], + }, + ], + fields => [ + ], + related => [ + ], + }, + }; 1; diff --git a/lib/WebGUI/i18n/English/Asset_WikiMaster.pm b/lib/WebGUI/i18n/English/Asset_WikiMaster.pm index 96b97a0d1..773f635f3 100644 --- a/lib/WebGUI/i18n/English/Asset_WikiMaster.pm +++ b/lib/WebGUI/i18n/English/Asset_WikiMaster.pm @@ -390,6 +390,61 @@ our $I18N = lastUpdated => 1165790228, }, + 'resultsLabel variable' => { + message => q|An internationalized label for titling the results of the search.|, + lastUpdated => 1165945210, + }, + + 'notWhatYouWanted variable' => { + message => q|An internationalized label for for asking the user if they did not find what they were looking for.|, + lastUpdated => 1165945210, + }, + + 'nothingFoundLabel variable' => { + message => q|An internationalized label for telling the user that no results were found for their search.|, + lastUpdated => 1165945210, + }, + + 'addPageUrl' => { + message => q|A URL to allow the user to add a page.|, + lastUpdated => 1165945210, + }, + + 'addPageLabel variable' => { + message => q|An internationalized label to go with addPageUrl.|, + lastUpdated => 1165945210, + }, + + 'performSearch' => { + message => q|The constant "1".|, + lastUpdated => 1165945210, + }, + + 'searchResults' => { + message => q|A loop containing all the results of the users search. The loop can be empty.|, + lastUpdated => 1165945210, + }, + + 'search url variable' => { + message => q|The URL (with gateway) of a page returned in the search results.|, + lastUpdated => 1165945210, + }, + + 'search title variable' => { + message => q|The title of a page returned in the search results.|, + lastUpdated => 1165945210, + }, + + 'search template title' => { + message => q|Wiki Master, Search Template|, + lastUpdated => 1165946012, + }, + + 'search template body' => { + message => q|
These variables are available in the template for displaying the search page in the Wiki.
|, + lastUpdated => 1165946014, + }, + }; 1;