From be64f0367f71c6f1f4f3c167b13b4a5e38e19b38 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Fri, 2 Mar 2007 23:02:21 +0000 Subject: [PATCH] add missing SQLForm docs for the super search --- lib/WebGUI/Help/Asset_SQLForm.pm | 183 ++++++++++------------- lib/WebGUI/i18n/English/Asset_SQLForm.pm | 11 +- 2 files changed, 84 insertions(+), 110 deletions(-) diff --git a/lib/WebGUI/Help/Asset_SQLForm.pm b/lib/WebGUI/Help/Asset_SQLForm.pm index 981e33617..bfa922d0f 100644 --- a/lib/WebGUI/Help/Asset_SQLForm.pm +++ b/lib/WebGUI/Help/Asset_SQLForm.pm @@ -373,6 +373,9 @@ our $HELP = { { 'name' => 'searchFormTrash.label' }, + { + 'name' => 'searchFormTrash.form' + }, { 'name' => 'searchFormMode.label' }, @@ -575,107 +578,6 @@ our $HELP = { } ] }, - { - 'name' => 'superSearch.url' - }, - { - 'name' => 'superSearch.label' - }, - { - 'name' => 'normalSearch.url' - }, - { - 'name' => 'normalSearch.label' - }, - { - 'name' => 'showFieldsDefined' - }, - { - 'name' => 'searchResults.header' - }, - { - 'name' => 'searchResults.footer' - }, - { - 'name' => 'searchResults.actionButtons' - }, - { - 'name' => 'searchForm' - }, - { - 'name' => 'searchFormHeader' - }, - { - 'name' => 'searchFormTrash.label' - }, - { - 'name' => 'searchFormMode.label' - }, - { - 'name' => 'searchFormMode.form' - }, - { - 'name' => 'searchFormQuery.label' - }, - { - 'name' => 'searchFormSearchIn.label' - }, - { - 'name' => 'searchFormSearchIn.form' - }, - { - 'name' => 'searchFormType.label' - }, - { - 'name' => 'searchFormType.form' - }, - { - 'name' => 'searchFormFooter' - }, - { - 'name' => 'searchFormSubmit' - }, - { - 'name' => 'searchFormJavascript' - }, - { - 'name' => 'searchForm.field_loop', - 'variables' => [ - { - 'name' => 'field.label', - }, - { - 'name' => 'field.conditionalForm' - }, - { - 'name' => 'field.conditional' - }, - { - 'name' => 'field.searchForm1' - }, - { - 'name' => 'field.searchForm2' - }, - { - 'name' => 'field.formValue1' - }, - { - 'name' => 'field.formValue2' - }, - { - 'name' => 'field.__FIELDNAME__.id' - } - ] - }, - { - 'name' => 'searchResults.header' - }, - { - 'name' => 'searchResults.footer' - }, - { - 'name' => 'searchResults.actionButtons' - }, { 'name' => 'searchResults.recordLoop', 'variables' => [ @@ -716,6 +618,30 @@ our $HELP = { } ] }, + { + 'name' => 'superSearch.url' + }, + { + 'name' => 'superSearch.label' + }, + { + 'name' => 'normalSearch.url' + }, + { + 'name' => 'normalSearch.label' + }, + { + 'name' => 'showFieldsDefined' + }, + { + 'name' => 'searchResults.header' + }, + { + 'name' => 'searchResults.footer' + }, + { + 'name' => 'searchResults.actionButtons' + }, { 'name' => 'showMetaData' }, @@ -723,16 +649,61 @@ our $HELP = { 'name' => 'managementLinks', }, { - 'name' => 'errorOccurred', + 'name' => 'searchFormTrash.label' }, { - 'name' => 'errorLoop', + 'name' => 'searchFormTrash.form' + }, + { + 'name' => 'searchFormType.label' + }, + { + 'name' => 'searchFormType.form' + }, + { + 'name' => 'searchFormHeader' + }, + { + 'name' => 'searchFormFooter' + }, + { + 'name' => 'searchFormSubmit' + }, + { + 'name' => 'searchFormJavascript' + }, + { + 'name' => 'searchForm.field_loop', 'variables' => [ { - 'name' => 'error.message', + 'name' => 'field.label', + }, + { + 'name' => 'field.conditionalForm' + }, + { + 'name' => 'field.conditional' + }, + { + 'name' => 'field.searchForm1' + }, + { + 'name' => 'field.searchForm2' + }, + { + 'name' => 'field.formValue1' + }, + { + 'name' => 'field.formValue2' + }, + { + 'name' => 'field.__FIELDNAME__.id' } - ], - } + ] + }, + { + 'name' => 'searchForm' + }, ], related => [ { diff --git a/lib/WebGUI/i18n/English/Asset_SQLForm.pm b/lib/WebGUI/i18n/English/Asset_SQLForm.pm index 2a20d1f37..f21ce0f81 100644 --- a/lib/WebGUI/i18n/English/Asset_SQLForm.pm +++ b/lib/WebGUI/i18n/English/Asset_SQLForm.pm @@ -1207,13 +1207,16 @@ variable.|, 'searchFormTrash.label' => { message => q|The label for the search in trash option. Available in normal and advanced search. Only use this if you are -not using the complete searchForm.
-
searchFormTrash.form
-The form Element for the search in trash option. Available in normal and advanced search. Only use this if you are -not using the complete searchForm.|, +not using the complete searchForm.
|, lastUpdated => 1149822982, }, + 'searchFormTrash.form' => { + message => q|The form Element for the search in trash option. Available in normal and advanced search. Only use this if you are +not using the complete searchForm.|, + lastUpdated => 1172875828, + }, + 'searchFormMode.label' => { message => q|The label for the search mode option (with regex or not). Available in normal search. Only use this if you are not using the complete searchForm.|,