From c6cde71f28555fd02c3259b251f998c5e8b30de7 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Wed, 13 Dec 2006 20:58:55 +0000 Subject: [PATCH] edit page help for WikiPage --- lib/WebGUI/Help/Asset_WikiPage.pm | 69 ++++++++++++++++++ lib/WebGUI/i18n/English/Asset_WikiPage.pm | 87 +++++++++++++++++++++++ 2 files changed, 156 insertions(+) create mode 100644 lib/WebGUI/Help/Asset_WikiPage.pm diff --git a/lib/WebGUI/Help/Asset_WikiPage.pm b/lib/WebGUI/Help/Asset_WikiPage.pm new file mode 100644 index 000000000..466d5e184 --- /dev/null +++ b/lib/WebGUI/Help/Asset_WikiPage.pm @@ -0,0 +1,69 @@ +package WebGUI::Help::Asset_WikiPage; + +our $HELP = { + 'wiki page add/edit' => { + title => 'add/edit title', + body => 'add/edit body', + isa => [ + ], + variables => [ + { + name => 'title', + }, + { + name => 'formHeader', + required => 1, + }, + { + name => 'formTitle', + }, + { + name => 'titleLabel', + description => 'titleLabel variable', + }, + { + name => 'formContent', + }, + { + name => 'contentLabel', + description => 'contentLabel variable', + }, + { + name => 'formProtect', + }, + { + name => 'protectQuestionLabel', + description => 'protectQuestionLabel variable', + }, + { + name => 'formSubmit', + required => 1, + }, + { + name => 'formFooter', + required => 1, + }, + { + name => 'isNew', + }, + { + name => 'canAdminister', + }, + { + name => 'isProtected', + }, + { + name => 'deleteLabel', + description => 'deleteLabel variable', + }, + { + name => 'deleteUrl', + }, + ], + related => [ + ], + }, + +}; + +1; diff --git a/lib/WebGUI/i18n/English/Asset_WikiPage.pm b/lib/WebGUI/i18n/English/Asset_WikiPage.pm index 6e92fd6ed..161f6b500 100644 --- a/lib/WebGUI/i18n/English/Asset_WikiPage.pm +++ b/lib/WebGUI/i18n/English/Asset_WikiPage.pm @@ -13,6 +13,93 @@ our $I18N = 'viewLabel' => { lastUpdated => 1160157064, message => q|View| }, 'historyLabel' => { lastUpdated => 1160425002, message => q|History| }, 'deleteLabel' => { lastUpdated => 1161121377, message => q|Delete| }, + + 'title' => { + message => q|The title of this page.|, + lastUpdated => 1161121377, + }, + + 'formHeader' => { + message => q|HTML code to start the form for the edit page form.|, + lastUpdated => 1165790228, + }, + + 'formTitle' => { + message => q|HTML code for a form to enter or change the page title.|, + lastUpdated => 1165790228, + }, + + 'formContent' => { + message => q|HTML code for a form to enter or change the content of the page.|, + lastUpdated => 1166040566, + }, + + 'formProtect' => { + message => q|HTML code for a checkbutton to indicate whether or not the page should be protected. Pages that + are protected can only be edited by those with administrative privileges to the Wiki.|, + lastUpdated => 1165790228, + }, + + 'formSubmit' => { + message => q|A submit button with an internationalized label to submit changes to the page.|, + lastUpdated => 1165790228, + }, + + 'formFooter' => { + message => q|HTML code to end the form for the edit page form.|, + lastUpdated => 1165790228, + }, + + 'isNew' => { + message => q|A boolean that is true if this wiki page is new.|, + lastUpdated => 1165790228, + }, + + 'canAdminister' => { + message => q|A boolean that is true if the user is in the group that has administrative privileges to the Wiki holding this page.|, + lastUpdated => 1165790228, + }, + + 'deleteUrl' => { + message => q|A URL to delete this page.|, + lastUpdated => 1165790228, + }, + + 'deleteLabel variable' => { + message => q|An internationalized label to go with deleteUrl.|, + lastUpdated => 1165790228, + }, + + 'titleLabel variable' => { + message => q|An internationalized label to go with formTitle.|, + lastUpdated => 1165790228, + }, + + 'contentLabel variable' => { + message => q|An internationalized label to go with formContent.|, + lastUpdated => 1165790228, + }, + + 'protectQuestionLabel variable' => { + message => q|An internationalized label to go with formProtect.|, + lastUpdated => 1165790228, + }, + + 'isProtected' => { + message => q|A boolean that is true if this page currently is set to be protected.|, + lastUpdated => 1165790228, + }, + + 'add/edit title' => { + message => q|Wiki Page, Add/Edit|, + lastUpdated => 1165790228, + }, + + 'add/edit body' => { + message => q|The add/edit screen for this Asset is templated. Fields seen by the user will not have hoverHelp. Variables available for use in the template are listed below:|, + lastUpdated => 1165790228, + }, + }; 1;