From 26ec6d2db4e84ed5e82454890491793e59c61035 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Sat, 11 Mar 2006 04:48:12 +0000 Subject: [PATCH] basic help docs for Search Asset --- lib/WebGUI/Help/Asset_Search.pm | 82 +++++++++++++++++++++++++ lib/WebGUI/i18n/English/Asset_Search.pm | 36 +++++++++++ 2 files changed, 118 insertions(+) create mode 100644 lib/WebGUI/Help/Asset_Search.pm diff --git a/lib/WebGUI/Help/Asset_Search.pm b/lib/WebGUI/Help/Asset_Search.pm new file mode 100644 index 000000000..d45f87bfe --- /dev/null +++ b/lib/WebGUI/Help/Asset_Search.pm @@ -0,0 +1,82 @@ +package WebGUI::Help::Asset_Search; + +our $HELP = { + 'search add/edit' => { + title => 'add/edit title', + body => 'add/edit body', + fields => [ + { + title => 'search template', + description => 'search template description', + namespace => 'Asset_Search', + }, + { + title => 'search root', + description => 'search root description', + namespace => 'Asset_Search', + }, + { + title => 'class limiter', + description => 'class limiter description', + namespace => 'Asset_Search', + }, + { + title => 'view template', + description => 'view template description', + namespace => 'Asset_Search', + }, + ], + related => [ + { + tag => 'search template', + namespace => 'Asset_Search' + }, + { + tag => 'asset fields', + namespace => 'Asset' + }, + { + tag => 'wobjects using', + namespace => 'Asset_Wobject' + }, + ] + }, + 'search template' => { + title => 'search template', + body => 'search template body', + fields => [ + { + title => 'search template', + description => 'search template description', + namespace => 'Asset_Search', + }, + { + title => 'search root', + description => 'search root description', + namespace => 'Asset_Search', + }, + { + title => 'class limiter', + description => 'class limiter description', + namespace => 'Asset_Search', + }, + { + title => 'view template', + description => 'view template description', + namespace => 'Asset_Search', + }, + ], + related => [ + { + tag => 'asset fields', + namespace => 'Asset' + }, + { + tag => 'wobjects using', + namespace => 'Asset_Wobject' + }, + ] + }, +}; + +1; diff --git a/lib/WebGUI/i18n/English/Asset_Search.pm b/lib/WebGUI/i18n/English/Asset_Search.pm index 0ff205148..9b7e061ff 100644 --- a/lib/WebGUI/i18n/English/Asset_Search.pm +++ b/lib/WebGUI/i18n/English/Asset_Search.pm @@ -49,6 +49,42 @@ our $I18N = { ##hashref of hashes context => q|hover help for search root| }, + 'search template body' => { + message => q|

The following template variables are available for Search Asset templates. All of these variables are required.

+ +

form_header*
+HTML Code to begin the search form +

+ +

form_footer*
+HTML Code to end the search form +

+ +

form_submit*
+A button to allow the user to submit a search. +

+ +

form_keywords*
+A form to let the user enter in keywords for the search. +

+ +

result_set*
+Paginated search results with pagination controls. +

+|, + lastUpdated => 1142051703, + }, + + 'add/edit title' => { + message => q|Add/Edit Search|, + lastUpdated => 1142052517, + }, + + 'add/edit body' => { + message => q|

The Search Asset is used to search WebGUI content. In addition to the properties below, Search Assets also have the properties of Wobjects and Assets.

|, + lastUpdated => 1142052519, + }, + }; 1;