From 45cd53a448f8f401b713d2ba359e2766e4d868bb Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Sat, 10 Feb 2007 00:41:37 +0000 Subject: [PATCH] began to document the Event add/edit template --- lib/WebGUI/Help/Asset_Event.pm | 47 ++++++++++++++++--- lib/WebGUI/i18n/English/Asset_Event.pm | 64 +++++++++++++++++++++++++- 2 files changed, 103 insertions(+), 8 deletions(-) diff --git a/lib/WebGUI/Help/Asset_Event.pm b/lib/WebGUI/Help/Asset_Event.pm index ee16be427..82f47e4a8 100644 --- a/lib/WebGUI/Help/Asset_Event.pm +++ b/lib/WebGUI/Help/Asset_Event.pm @@ -5,15 +5,50 @@ our $HELP = { title => 'add/edit title', body => 'add/edit body', isa => [ - { - tag => 'asset fields', - namespace => 'Asset' - }, ], - fields => [ + variables => [ + { + 'name' => 'formHeader', + 'required' => 1, + }, + { + 'name' => 'formFooter', + 'required' => 1, + }, + { + 'name' => 'formTitle', + 'required' => 1, + }, + { + 'name' => 'formMenuTitle', + }, + { + 'name' => 'formLocation', + }, + { + 'name' => 'formDescription', + }, + { + 'name' => 'formStartDate', + }, + { + 'name' => 'formStartTime', + }, + { + 'name' => 'formEndDate', + }, + { + 'name' => 'formEndTime', + }, + { + 'name' => 'formTime', + }, + { + 'name' => 'formRelatedLinks', + }, ], related => [ - ] + ], }, }; diff --git a/lib/WebGUI/i18n/English/Asset_Event.pm b/lib/WebGUI/i18n/English/Asset_Event.pm index 1c6333161..8d461f365 100644 --- a/lib/WebGUI/i18n/English/Asset_Event.pm +++ b/lib/WebGUI/i18n/English/Asset_Event.pm @@ -15,8 +15,68 @@ our $I18N = { }, 'add/edit body' => { - message => q{This Asset has no documentation or internationalization.}, - lastUpdated => 1165731356, + message => q|The Add/Edit screen for the Event is templatable. The template variables that are available are listed below.|, + lastUpdated => 1171067184, + }, + + 'formHeader' => { + message => q|HTML and Javascript for the start of the Add/Edit Event form.|, + lastUpdated => 1171067211, + }, + + 'formFooter' => { + message => q|HTML for the end of the Add/Edit Event form.|, + lastUpdated => 1171067211, + }, + + 'formTitle' => { + message => q|HTML form for entering or editing the Event Title.|, + lastUpdated => 1171067211, + }, + + 'formMenuTitle' => { + message => q|HTML form for entering or editing the Event Menu Title.|, + lastUpdated => 1171067211, + }, + + 'formLocation' => { + message => q|HTML form for entering or editing the Event Location.|, + lastUpdated => 1171067211, + }, + + 'formDescription' => { + message => q|HTML form for entering or editing the Event Description.|, + lastUpdated => 1171067211, + }, + + 'formStartDate' => { + message => q|HTML form for entering or editing the Event's start date.|, + lastUpdated => 1171067211, + }, + + 'formStartTime' => { + message => q|HTML form for entering or editing the Event's start time.|, + lastUpdated => 1171067211, + }, + + 'formEndDate' => { + message => q|HTML form for entering or editing the Event's end date.|, + lastUpdated => 1171067211, + }, + + 'formEndTime' => { + message => q|HTML form for entering or editing the Event's end time.|, + lastUpdated => 1171067211, + }, + + 'formTime' => { + message => q|An HTML form for manipulating the Event's start time and end times. It has presets for all day long, no specific time, or a specific starting and ending time.|, + lastUpdated => 1171067211, + }, + + 'formRelatedLinks' => { + message => q|An HTML text form for entering in URLs for websites with more information about this Event. Individual links should be added one per line.|, + lastUpdated => 1171067211, }, 'assetName' => {