From 8b7946e994c9786fd51236cadac63cc3ed8098ac Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Sun, 4 Jun 2006 03:48:41 +0000 Subject: [PATCH] template variables broken out --- lib/WebGUI/Help/Asset_DataForm.pm | 278 +++++++ lib/WebGUI/Help/Asset_Event.pm | 44 ++ lib/WebGUI/Help/Asset_EventsCalendar.pm | 180 +++++ lib/WebGUI/i18n/English/Asset_DataForm.pm | 724 +++++++++--------- lib/WebGUI/i18n/English/Asset_Event.pm | 130 ++-- .../i18n/English/Asset_EventsCalendar.pm | 527 +++++++------ 6 files changed, 1231 insertions(+), 652 deletions(-) diff --git a/lib/WebGUI/Help/Asset_DataForm.pm b/lib/WebGUI/Help/Asset_DataForm.pm index aa50ba833..3e8da81f6 100644 --- a/lib/WebGUI/Help/Asset_DataForm.pm +++ b/lib/WebGUI/Help/Asset_DataForm.pm @@ -170,6 +170,204 @@ our $HELP = { body => '83', fields => [ ], + variables => [ + { + 'name' => 'canEdit' + }, + { + 'name' => 'entryId' + }, + { + 'required' => 1, + 'name' => 'form.start' + }, + { + 'name' => 'entryList.url' + }, + { + 'name' => 'entryList.label' + }, + { + 'name' => 'export.tab.url' + }, + { + 'name' => 'export.tab.label' + }, + { + 'name' => 'back.url' + }, + { + 'name' => 'back.label' + }, + { + 'name' => 'addField.url' + }, + { + 'name' => 'addField.label' + }, + { + 'name' => 'addTab.url' + }, + { + 'name' => 'addTab.label' + }, + { + 'required' => 1, + 'name' => 'tab.init' + }, + { + 'name' => 'username' + }, + { + 'name' => 'userId' + }, + { + 'name' => 'date' + }, + { + 'name' => 'epoch' + }, + { + 'name' => 'ipAddress' + }, + { + 'name' => 'edit.url' + }, + { + 'name' => 'error_loop', + 'variables' => [ + { + 'name' => 'error.message' + } + ] + }, + { + 'name' => 'tab_loop', + 'variables' => [ + { + 'required' => 1, + 'name' => 'tab.start' + }, + { + 'name' => 'tab.sequence' + }, + { + 'name' => 'tab.label' + }, + { + 'name' => 'tab.tid' + }, + { + 'name' => 'tab.subtext' + }, + { + 'required' => 1, + 'name' => 'tab.controls' + }, + { + 'required' => 1, + 'name' => 'tab.field_loop', + 'variables' => [ + { + 'required' => 1, + 'name' => 'tab.field.form' + }, + { + 'name' => 'tab.field.name' + }, + { + 'name' => 'tab.field.tid' + }, + { + 'name' => 'tab.field.value' + }, + { + 'name' => 'tab.field.label' + }, + { + 'name' => 'tab.field.isHidden' + }, + { + 'name' => 'tab.field.isDisplayed' + }, + { + 'name' => 'tab.field.isRequired' + }, + { + 'name' => 'tab.field.isMailField' + }, + { + 'name' => 'tab.field.subtext' + }, + { + 'name' => 'tab.field.controls' + } + ] + }, + { + 'required' => 1, + 'name' => 'tab.end' + } + ] + }, + { + 'name' => 'field_loop', + 'variables' => [ + { + 'required' => 1, + 'name' => 'field.form' + }, + { + 'name' => 'field.name' + }, + { + 'name' => 'field.tid' + }, + { + 'name' => 'field.inTab' + }, + { + 'name' => 'field.value' + }, + { + 'name' => 'field.label' + }, + { + 'name' => 'field.isHidden' + }, + { + 'name' => 'field.isDisplayed' + }, + { + 'name' => 'field.isRequired' + }, + { + 'name' => 'field.isMailField' + }, + { + 'name' => 'field.subtext' + }, + { + 'name' => 'field.controls' + } + ] + }, + { + 'name' => undef + }, + { + 'required' => 1, + 'name' => 'form.send' + }, + { + 'required' => 1, + 'name' => 'form.save' + }, + { + 'required' => 1, + 'name' => 'form.end' + } + ], related => [ { tag => 'data form fields add/edit', @@ -190,6 +388,86 @@ our $HELP = { body => '89', fields => [ ], + variables => [ + { + 'name' => 'back.url', + }, + { + 'name' => 'back.label', + }, + { + 'name' => 'field_loop', + 'variables' => [ + { + 'name' => 'field.name', + }, + { + 'name' => 'field.label', + }, + { + 'name' => 'field.id' + }, + { + 'name' => 'field.isMailField', + }, + { + 'name' => 'field.type' + } + ], + }, + { + 'name' => 'record_loop', + 'variables' => [ + { + 'name' => 'record.entryId' + }, + { + 'name' => 'record.ipAddress' + }, + { + 'name' => 'record.edit.url' + }, + { + 'name' => 'record.edit.icon' + }, + { + 'name' => 'record.delete.url' + }, + { + 'name' => 'record.delete.icon' + }, + { + 'name' => 'record.username' + }, + { + 'name' => 'record.userId' + }, + { + 'name' => 'record.submissionDate.epoch' + }, + { + 'name' => 'record.submissionDate.human' + }, + { + 'name' => 'record.data_loop', + 'variables' => [ + { + 'name' => 'record.data.name' + }, + { + 'name' => 'record.data.label' + }, + { + 'name' => 'record.data.value' + }, + { + 'name' => 'record.data.isMailField' + } + ] + } + ] + } + ], related => [ { tag => 'data form add/edit', diff --git a/lib/WebGUI/Help/Asset_Event.pm b/lib/WebGUI/Help/Asset_Event.pm index 1bb37a64f..4696500ed 100644 --- a/lib/WebGUI/Help/Asset_Event.pm +++ b/lib/WebGUI/Help/Asset_Event.pm @@ -52,6 +52,50 @@ our $HELP = { body => '97', fields => [ ], + variables => [ + { + 'name' => 'title' + }, + { + 'name' => 'start.label' + }, + { + 'name' => 'start.date' + }, + { + 'name' => 'start.time' + }, + { + 'name' => 'end.date' + }, + { + 'name' => 'end.time' + }, + { + 'name' => 'end.label' + }, + { + 'name' => 'canEdit' + }, + { + 'name' => 'edit.url' + }, + { + 'name' => 'edit.label' + }, + { + 'name' => 'delete.url' + }, + { + 'name' => 'delete.label' + }, + { + 'name' => 'description' + }, + { + 'name' => 'eventLocation' + } + ], related => [ { tag => 'template language', diff --git a/lib/WebGUI/Help/Asset_EventsCalendar.pm b/lib/WebGUI/Help/Asset_EventsCalendar.pm index da72ac9ea..72b129d31 100644 --- a/lib/WebGUI/Help/Asset_EventsCalendar.pm +++ b/lib/WebGUI/Help/Asset_EventsCalendar.pm @@ -71,6 +71,186 @@ our $HELP = { body => '95', fields => [ ], + variables => [ + { + 'name' => 'addevent.url' + }, + { + 'name' => 'addevent.label' + }, + { + 'name' => 'sunday.label' + }, + { + 'name' => 'monday.label' + }, + { + 'name' => 'tuesday.label' + }, + { + 'name' => 'wednesday.label' + }, + { + 'name' => 'thursday.label' + }, + { + 'name' => 'friday.label' + }, + { + 'name' => 'saturday.label' + }, + { + 'name' => 'sunday.label.short' + }, + { + 'name' => 'monday.label.short' + }, + { + 'name' => 'tuesday.label.short' + }, + { + 'name' => 'wednesday.label.short' + }, + { + 'name' => 'thursday.label.short' + }, + { + 'name' => 'friday.label.short' + }, + { + 'name' => 'saturday.label.short' + }, + { + 'name' => 'month_loop', + 'variables' => [ + { + 'name' => 'daysInMonth' + }, + { + 'name' => 'day_loop', + 'variables' => [ + { + 'name' => 'dayOfWeek' + }, + { + 'name' => 'day' + }, + { + 'name' => 'isStartOfWeek' + }, + { + 'name' => 'isEndOfWeek' + }, + { + 'name' => 'isToday' + }, + { + 'name' => 'event_loop', + 'variables' => [ + { + 'name' => 'description' + }, + { + 'name' => 'name' + }, + { + 'name' => 'start.date.human' + }, + { + 'name' => 'start.time.human' + }, + { + 'name' => 'start.date.epoch' + }, + { + 'name' => 'start.year' + }, + { + 'name' => 'start.month' + }, + { + 'name' => 'start.day' + }, + { + 'name' => 'start.day.dayOfWeek' + }, + { + 'name' => 'end.date.human' + }, + { + 'name' => 'end.time.human' + }, + { + 'name' => 'end.date.epoch' + }, + { + 'name' => 'end.year' + }, + { + 'name' => 'end.month' + }, + { + 'name' => 'end.day' + }, + { + 'name' => 'end.day.dayOfWeek' + }, + { + 'name' => 'startEndYearMatch' + }, + { + 'name' => 'startEndMonthMatch' + }, + { + 'name' => 'startEndDayMatch' + }, + { + 'name' => 'isFirstDayOfEvent' + }, + { + 'name' => 'dateIsSameAsPrevious' + }, + { + 'name' => 'daysInEvent' + }, + { + 'name' => 'url' + }, + { + 'name' => 'owner' + } + ] + }, + { + 'name' => 'url' + } + ] + }, + { + 'name' => 'prepad_loop', + 'variables' => [ + { + 'name' => 'count' + } + ] + }, + { + 'name' => 'postpad_loop', + 'variables' => [ + { + 'name' => 'count' + } + ] + }, + { + 'name' => 'month' + }, + { + 'name' => 'year' + } + ] + } + ], related => [ { tag => 'events calendar add/edit', diff --git a/lib/WebGUI/i18n/English/Asset_DataForm.pm b/lib/WebGUI/i18n/English/Asset_DataForm.pm index 7aba9c219..b6ea6932d 100644 --- a/lib/WebGUI/i18n/English/Asset_DataForm.pm +++ b/lib/WebGUI/i18n/English/Asset_DataForm.pm @@ -276,267 +276,310 @@ to validate any input that the user may supply.|, lastUpdated => 1051463599 }, + 'canEdit' => { + message => q|A conditional indicating whether the current user has the privileges to edit this Data Form.|, + lastUpdated => 1149392054, + }, + + 'entryId' => { + message => q|The ID of the current entry being viewed. This variable is undefined +unless the user can edit the Data Form (canEdit it true).|, + lastUpdated => 1149392054, + }, + + 'form.start' => { + message => q|The beginning of the form.|, + lastUpdated => 1149392054, + }, + + 'entryList.url' => { + message => q|Following this URL will display a list of all the record entries in this data form.|, + lastUpdated => 1149392054, + }, + + 'entryList.label' => { + message => q|The default label for the entryList.url variable.|, + lastUpdated => 1149392054, + }, + + 'export.tab.url' => { + message => q|Following this URL will export the data stored to this data form as a tab delimited file.|, + lastUpdated => 1149392054, + }, + + 'export.tab.label' => { + message => q|The default label for the export.tab.url variable.|, + lastUpdated => 1149392054, + }, + + 'back.url' => { + message => q|A url that will take you back to the default page in the form.|, + lastUpdated => 1149392054, + }, + + 'back.label' => { + message => q|The default label for the back.url variable.|, + lastUpdated => 1149392054, + }, + + 'addField.url' => { + message => q|The URL that content managers will visit to add a new field to the form.|, + lastUpdated => 1149392054, + }, + + 'addField.label' => { + message => q|The default label for the addField.url variable.|, + lastUpdated => 1149392054, + }, + + 'addTab.url' => { + message => q|The URL that content managers will visit to add a new tab to the form.|, + lastUpdated => 1149392054, + }, + + 'addTab.label' => { + message => q|The default label for the addTab.url variable.|, + lastUpdated => 1149392054, + }, + + 'tab.init' => { + message => q|Code to enable tabs to work correctly.|, + lastUpdated => 1149392054, + }, + + 'username' => { + message => q|The username of the user that submitted the data.|, + lastUpdated => 1149392054, + }, + + 'userId' => { + message => q|The user id of the user that submitted the data.|, + lastUpdated => 1149392054, + }, + + 'date' => { + message => q|The date that this data was submitted or last updated formatted as the user's preferred date/time format.|, + lastUpdated => 1149392054, + }, + + 'epoch' => { + message => q|The date that this data was submitted or last updated formatted as an epoch date.|, + lastUpdated => 1149392054, + }, + + 'ipAddress' => { + message => q|The IP address of the user that submitted the data.|, + lastUpdated => 1149392054, + }, + + 'edit.url' => { + message => q|The URL to the page to edit this entry.|, + lastUpdated => 1149392054, + }, + + 'error_loop' => { + message => q|A loop containing error information, for instance if someone doesn't fill out a required field.|, + lastUpdated => 1149392054, + }, + + 'error.message' => { + message => q|An error message indicating what the user might have done wrong.|, + lastUpdated => 1149392054, + }, + + 'tab_loop' => { + message => q|A loop containing information about tabs that may have been defined for this Data Form.|, + lastUpdated => 1149392054, + }, + + 'tab.start' => { + message => q|Code to start the tab.|, + lastUpdated => 1149392054, + }, + + 'tab.sequence' => { + message => q|A number indicating which tab this is (first, second, etc.).|, + lastUpdated => 1149392054, + }, + + 'tab.label' => { + message => q|The label for this tab.|, + lastUpdated => 1149392054, + }, + + 'tab.tid' => { + message => q|This tab's ID.|, + lastUpdated => 1149392054, + }, + + 'tab.subtext' => { + message => q|A description of this tab that can explain more the tab contents than the label.|, + lastUpdated => 1149392054, + }, + + 'tab.controls' => { + message => q|Editing icons for this tab.|, + lastUpdated => 1149392054, + }, + + 'tab.field_loop' => { + message => q|A loop containing all the fields for this tab. See the field_loop description +below to see which template variables may be used inside this loop.|, + lastUpdated => 1149392054, + }, + + 'tab.field.form' => { + message => q|The form element for this Use of uninitialized value in exists at varify.pl line 61, <> chunk 64. +Use of uninitialized value in printf at varify.pl line 62, <> chunk 64. +field.|, + lastUpdated => 1149392054, + }, + + 'tab.field.name' => { + message => q|The name of this field.|, + lastUpdated => 1149392054, + }, + + 'tab.field.tid' => { + message => q|The ID of the Tab that this field is in.|, + lastUpdated => 1149392054, + }, + + 'tab.field.value' => { + message => q|The value of this field. If this is new data, then the default value will be used.|, + lastUpdated => 1149392054, + }, + + 'tab.field.label' => { + message => q|The text label for this field.|, + lastUpdated => 1149392054, + }, + + 'tab.field.isHidden' => { + message => q|A conditional indicating whether this field is supposed to be hidden. |, + lastUpdated => 1149392054, + }, + + 'tab.field.isDisplayed' => { + message => q|A conditional indicating whether this field is supposed to be displayed. |, + lastUpdated => 1149392054, + }, + + 'tab.field.isRequired' => { + message => q|A conditional indicating whether this field is required. |, + lastUpdated => 1149392054, + }, + + 'tab.field.isMailField' => { + message => q|A conditional indicating whether this field is present only to facilitate sending an email. |, + lastUpdated => 1149392054, + }, + + 'tab.field.subtext' => { + message => q|A description of the field so that users know what to put in the field.|, + lastUpdated => 1149392054, + }, + + 'tab.field.controls' => { + message => q|WebGUI's administrative controls for editing this field.|, + lastUpdated => 1149392054, + }, + + 'tab.end' => { + message => q|Code to end the tab.|, + lastUpdated => 1149392054, + }, + + 'field_loop' => { + message => q|A loop containing all of the field information.|, + lastUpdated => 1149392054, + }, + + 'field.form' => { + message => q|The form element for this field.|, + lastUpdated => 1149392054, + }, + + 'field.name' => { + message => q|The name of this field.|, + lastUpdated => 1149392054, + }, + + 'field.tid' => { + message => q|The ID of the Tab that this field is in.|, + lastUpdated => 1149392054, + }, + + 'field.inTab' => { + message => q|A conditional indicating if the field is inside of a tab.|, + lastUpdated => 1149392054, + }, + + 'field.value' => { + message => q|The value of this field. If this is new data, then the default value will be used.|, + lastUpdated => 1149392054, + }, + + 'field.label' => { + message => q|The text label for this field.|, + lastUpdated => 1149392054, + }, + + 'field.isHidden' => { + message => q|A conditional indicating whether this field is supposed to be hidden. |, + lastUpdated => 1149392054, + }, + + 'field.isDisplayed' => { + message => q|A conditional indicating whether this field is supposed to be displayed. |, + lastUpdated => 1149392054, + }, + + 'field.isRequired' => { + message => q|A conditional indicating whether this field is required. |, + lastUpdated => 1149392054, + }, + + 'field.isMailField' => { + message => q|A conditional indicating whether this field is present only to facilitate sending an email. |, + lastUpdated => 1149392054, + }, + + 'field.subtext' => { + message => q|A description of the field so that users know what to put in the field.|, + lastUpdated => 1149392054, + }, + + 'field.controls' => { + message => q|WebGUI's administrative controls for editing this field.|, + lastUpdated => 1149392054, + }, + + '' => { + message => q|From outside the field_loop it's also possible to access all form fields directly. To accomplish this you should use these variables. Call them with field.noloop.fieldName.property, where fieldName is the name of the field (not the label) and property is anyone of the properties supplied by the field_loop. If you want the form tag of field 'name' you should use field.noloop.name.form anywhere in your template. If you want to know if the field is required use field.noloop.name.isRequired.|, + lastUpdated => 1149392054, + }, + + 'form.send' => { + message => q|A form button with the internationalized word "send" printed on it.|, + lastUpdated => 1149392054, + }, + + 'form.save' => { + message => q|A form button to submit the form data.|, + lastUpdated => 1149392054, + }, + + 'form.end' => { + message => q|The end of the form.|, + lastUpdated => 1149392054, + }, + '83' => { message => q|

The following template variables are available for Data Form templates.

-

* : Only available if the user has already submitted the form.
-! : This variable is required for the Data Form to function correctly.

- -

canEdit
-A conditional indicating whether the current user has the privileges to edit this Data Form. -

- -

entryId
-The ID of the current entry being viewed. This variable is undefined -unless the user can edit the Data Form (canEdit it true). -

- -

form.start !
-The beginning of the form. -

- -

entryList.url
-Following this URL will display a list of all the record entries in this data form. -

- -

entryList.label
-The default label for the entryList.url variable. -

- -

export.tab.url
-Following this URL will export the data stored to this data form as a tab delimited file. -

- -

export.tab.label
-The default label for the export.tab.url variable. -

- -

back.url
-A url that will take you back to the default page in the form. -

- -

back.label
-The default label for the back.url variable. -

- -

addField.url
-The URL that content managers will visit to add a new field to the form. -

- -

addField.label
-The default label for the addField.url variable. -

- -

addTab.url
-The URL that content managers will visit to add a new tab to the form. -

- -

addTab.label
-The default label for the addTab.url variable. -

- -

tab.init!
-Code to enable tabs to work correctly. -

- -

username *
-The username of the user that submitted the data. -

- -

userId *
-The user id of the user that submitted the data. -

- -

date *
-The date that this data was submitted or last updated formatted as the user's preferred date/time format. -

- -

epoch *
-The date that this data was submitted or last updated formatted as an epoch date. -

- -

ipAddress *
-The IP address of the user that submitted the data. -

- -

edit.url *
-The URL to the page to edit this entry. -

- -

error_loop *
-A loop containing error information, for instance if someone doesn't fill out a required field. -

- -
- -error.message *
-An error message indicating what the user might have done wrong. - -
- -

tab_loop
-A loop containing information about tabs that may have been defined for this Data Form. -

- -
- -

tab.start !
-Code to start the tab. -

- -

tab.sequence
-A number indicating which tab this is (first, second, etc.). -

- -

tab.label
-The label for this tab. -

- -

tab.tid
-This tab's ID. -

- -

tab.subtext
-A description of this tab that can explain more the tab contents than the label. -

- -

tab.controls !
-Editing icons for this tab. -

- -

tab.field_loop !
-A loop containing all the fields for this tab. See the field_loop description -below to see which template variables may be used inside this loop. -

- -
- -

tab.field.form !
-The form element for this field. -

- -

tab.field.name
-The name of this field. -

- -

tab.field.tid
-The ID of the Tab that this field is in. -

- -

tab.field.value
-The value of this field. If this is new data, then the default value will be used. -

- -

tab.field.label
-The text label for this field. -

- -

tab.field.isHidden
-A conditional indicating whether this field is supposed to be hidden. -

- -

tab.field.isDisplayed
-A conditional indicating whether this field is supposed to be displayed. -

- -

tab.field.isRequired
-A conditional indicating whether this field is required. -

- -

tab.field.isMailField
-A conditional indicating whether this field is present only to facilitate sending an email. -

- -

tab.field.subtext
-A description of the field so that users know what to put in the field. -

- -

tab.field.controls
-WebGUI's administrative controls for editing this field. -

- -
- -

tab.end !
-Code to end the tab. -

- -
- -

field_loop
-A loop containing all of the field information. -

- -
- -

field.form !
-The form element for this field. -

- -

field.name
-The name of this field. -

- -

field.tid
-The ID of the Tab that this field is in. -

- -

field.inTab
-A conditional indicating if the field is inside of a tab. -

- -

field.value
-The value of this field. If this is new data, then the default value will be used. -

- -

field.label
-The text label for this field. -

- -

field.isHidden
-A conditional indicating whether this field is supposed to be hidden. -

- -

field.isDisplayed
-A conditional indicating whether this field is supposed to be displayed. -

- -

field.isRequired
-A conditional indicating whether this field is required. -

- -

field.isMailField
-A conditional indicating whether this field is present only to facilitate sending an email. -

- -

field.subtext
-A description of the field so that users know what to put in the field. -

- -

field.controls
-WebGUI's administrative controls for editing this field. -

- -
- -

field.noloop.fieldName.property
-From outside the field_loop it's also possible to access all form fields directly. To accomplish this you should use these variables. Call them with field.noloop.fieldName.property, where fieldName is the name of the field (not the label) and property is anyone of the properties supplied by the field_loop. If you want the form tag of field 'name' you should use field.noloop.name.form anywhere in your template. If you want to know if the field is required use field.noloop.name.isRequired. -

- -

form.send !
-A form button with the internationalized word "send" printed on it. -

- -

form.save !
-A form button to submit the form data. -

- -

form.end !
-The end of the form. -

- -|, - lastUpdated => 1146629940, + |, + lastUpdated => 1149392104, }, '61' => { @@ -577,115 +620,98 @@ The end of the form. '89' => { message => q|

The following variables are available to the Data Form List template:

+|, + lastUpdated => 1149392138, + }, -

back.url
-The URL to go back to the Data Form data entry page. -

+ 'field.id' => { + message => q|A unique identifier representing this field in the database.|, + lastUpdated => 1149392138, + }, -

back.label
-The default label for the back.url. -

+ 'field.type' => { + message => q|The data type associated with this field.|, + lastUpdated => 1149392138, + }, -

field_loop
-A loop containing information about the fields in this Data Form. -

+ 'record_loop' => { + message => q|A loop containing the record entries of this data form.|, + lastUpdated => 1149392138, + }, -
+ 'record.entryId' => { + message => q|A unique identifier for this record entry.|, + lastUpdated => 1149392138, + }, -

field.name
-The web safe name of this field. -

+ 'record.ipAddress' => { + message => q|The IP Address of the user that submitted this record entry.|, + lastUpdated => 1149392138, + }, -

field.label
-The human readable label for this field. -

+ 'record.edit.url' => { + message => q|The URL to edit this record.|, + lastUpdated => 1149392138, + }, -

field.id
-A unique identifier representing this field in the database. -

+ 'record.edit.icon' => { + message => q|An icon and associated URL for editing this record.|, + lastUpdated => 1149392138, + }, -

field.isMailField
-A conditional indicating whether this field exists for the mail subsystem of the data form. -

+ 'record.delete.url' => { + message => q|The URL to delete this record.|, + lastUpdated => 1149392138, + }, -

field.type
-The data type associated with this field. -

+ 'record.delete.icon' => { + message => q|An icon and associated URL for deleting this record.|, + lastUpdated => 1149392138, + }, -
+ 'record.username' => { + message => q|The username of the person that submitted this record entry.|, + lastUpdated => 1149392138, + }, -

record_loop
-A loop containing the record entries of this data form. -

+ 'record.userId' => { + message => q|The user id of the person that submitted this record entry.|, + lastUpdated => 1149392138, + }, -
+ 'record.submissionDate.epoch' => { + message => q|The epoch datestamp for this record entry.|, + lastUpdated => 1149392138, + }, -

record.entryId
-A unique identifier for this record entry. -

+ 'record.submissionDate.human' => { + message => q|A human readable date stamp, based upon the user's preferences, for this record entry.|, + lastUpdated => 1149392138, + }, -

record.ipAddress
-The IP Address of the user that submitted this record entry. -

+ 'record.data_loop' => { + message => q|A loop containing the data submitted by the user for each field in this data form.|, + lastUpdated => 1149392138, + }, -

record.edit.url
-The URL to edit this record. -

+ 'record.data.name' => { + message => q|The web safe name of this field.|, + lastUpdated => 1149392138, + }, -

record.edit.icon
-An icon and associated URL for editing this record. -

+ 'record.data.label' => { + message => q|The human readable label for this field.|, + lastUpdated => 1149392138, + }, -

record.delete.url
-The URL to delete this record. -

+ 'record.data.value' => { + message => q|The value submitted by the user for this field in this record entry.|, + lastUpdated => 1149392138, + }, -

record.delete.icon
-An icon and associated URL for deleting this record. -

- -

record.username
-The username of the person that submitted this record entry. -

- -

record.userId
-The user id of the person that submitted this record entry. -

- -

record.submissionDate.epoch
-The epoch datestamp for this record entry. -

- -

record.submissionDate.human
-A human readable date stamp, based upon the user's preferences, for this record entry. -

- -

record.data_loop
-A loop containing the data submitted by the user for each field in this data form. -

- -
- -

record.data.name
-The web safe name of this field. -

- -

record.data.label
-The human readable label for this field. -

- -

record.data.value
-The value submitted by the user for this field in this record entry. -

- -

record.data.isMailField
-A conditional indicating whether this field exists for the mail subsystem of the data form. -

- -
- -
|, - lastUpdated => 1146630002, + 'record.data.isMailField' => { + message => q|A conditional indicating whether this field exists for the mail subsystem of the data form.|, + lastUpdated => 1149392138, }, '24' => { diff --git a/lib/WebGUI/i18n/English/Asset_Event.pm b/lib/WebGUI/i18n/English/Asset_Event.pm index f6ebe0e3e..7808996ea 100644 --- a/lib/WebGUI/i18n/English/Asset_Event.pm +++ b/lib/WebGUI/i18n/English/Asset_Event.pm @@ -60,68 +60,82 @@ our $I18N = { lastUpdated => 1078568518 }, + 'title' => { + message => q|The title of this event.|, + lastUpdated => 1149392729, + }, + + 'start.label' => { + message => q|The translated label for the start date.|, + lastUpdated => 1149392729, + }, + + 'start.date' => { + message => q|The date this event starts.|, + lastUpdated => 1149392729, + }, + + 'start.time' => { + message => q|The time this event starts.|, + lastUpdated => 1149392729, + }, + + 'end.date' => { + message => q|The date this event ends.|, + lastUpdated => 1149392729, + }, + + 'end.time' => { + message => q|The time this event ends.|, + lastUpdated => 1149392729, + }, + + 'end.label' => { + message => q|The translated label for the end date.|, + lastUpdated => 1149392729, + }, + + 'canEdit' => { + message => q|A condition indicating whether the current user can edit an event.|, + lastUpdated => 1149392729, + }, + + 'edit.url' => { + message => q|The URL to edit this event.|, + lastUpdated => 1149392729, + }, + + 'edit.label' => { + message => q|The translated label for the edit URL.|, + lastUpdated => 1149392729, + }, + + 'delete.url' => { + message => q|The URL to delete this event.|, + lastUpdated => 1149392729, + }, + + 'delete.label' => { + message => q|The translated label for the delete URL.|, + lastUpdated => 1149392729, + }, + + 'description' => { + message => q|The description of this event.|, + lastUpdated => 1149392729, + }, + + 'eventLocation' => { + message => q|Where the event will occur.|, + lastUpdated => 1149392729, + }, + + '97' => { message => q|

The following is the list of template variables available in when displaying an event from the calendar.

- -

title
-The title of this event. -

- -

start.label
-The translated label for the start date. -

- -

start.date
-The date this event starts. -

- -

start.time
-The time this event starts. -

- -

end.date
-The date this event ends. -

- -

end.time
-The time this event ends. -

- -

end.label
-The translated label for the end date. -

- -

canEdit
-A condition indicating whether the current user can edit an event. -

- -

edit.url
-The URL to edit this event. -

- -

edit.label
-The translated label for the edit URL. -

- -

delete.url
-The URL to delete this event. -

- -

delete.label
-The translated label for the delete URL. -

- -

description
-The description of this event. -

- -

eventLocation
-Where the event will occur. -

- |, - lastUpdated => 1146763452, + lastUpdated => 1149392756, }, '519' => { diff --git a/lib/WebGUI/i18n/English/Asset_EventsCalendar.pm b/lib/WebGUI/i18n/English/Asset_EventsCalendar.pm index 45db05f03..b74a19898 100644 --- a/lib/WebGUI/i18n/English/Asset_EventsCalendar.pm +++ b/lib/WebGUI/i18n/English/Asset_EventsCalendar.pm @@ -203,255 +203,292 @@ The title of an individual event. 'message' => 'Events Calendar Template' }, + 'addevent.url' => { + message => q|The URL to add an event to the calendar.|, + lastUpdated => 1149392808, + }, + + 'addevent.label' => { + message => q|The translated label for the add event link.|, + lastUpdated => 1149392808, + }, + + 'sunday.label' => { + message => q|A label representing "Sunday".|, + lastUpdated => 1149392808, + }, + + 'monday.label' => { + message => q|A label representing "Monday".|, + lastUpdated => 1149392808, + }, + + 'tuesday.label' => { + message => q|A label representing "Tuesday".|, + lastUpdated => 1149392808, + }, + + 'wednesday.label' => { + message => q|A label representing "Wednesday".|, + lastUpdated => 1149392808, + }, + + 'thursday.label' => { + message => q|A label representing "Thursday".|, + lastUpdated => 1149392808, + }, + + 'friday.label' => { + message => q|A label representing "Friday".|, + lastUpdated => 1149392808, + }, + + 'saturday.label' => { + message => q|A label representing "Saturday".|, + lastUpdated => 1149392808, + }, + + 'sunday.label.short' => { + message => q|The first initial of the label for "Sunday".|, + lastUpdated => 1149392808, + }, + + 'monday.label.short' => { + message => q|The first initial of the label for "Monday".|, + lastUpdated => 1149392808, + }, + + 'tuesday.label.short' => { + message => q|The first initial of the label for "Tuesday".|, + lastUpdated => 1149392808, + }, + + 'wednesday.label.short' => { + message => q|The first initial of the label for "Wednesday".|, + lastUpdated => 1149392808, + }, + + 'thursday.label.short' => { + message => q|The first initial of the label for "Thursday".|, + lastUpdated => 1149392808, + }, + + 'friday.label.short' => { + message => q|The first initial of the label for "Friday".|, + lastUpdated => 1149392808, + }, + + 'saturday.label.short' => { + message => q|The first initial of the label for "Saturday".|, + lastUpdated => 1149392808, + }, + + 'month_loop' => { + message => q|A loop containing all the months in the calendar.|, + lastUpdated => 1149392808, + }, + + 'daysInMonth' => { + message => q|The number of days in this month.|, + lastUpdated => 1149392808, + }, + + 'day_loop' => { + message => q|A loop containing all the days in the month.|, + lastUpdated => 1149392808, + }, + + 'dayOfWeek' => { + message => q|The day number for the day in the week.|, + lastUpdated => 1149392808, + }, + + 'day' => { + message => q|The day of the month.|, + lastUpdated => 1149392808, + }, + + 'isStartOfWeek' => { + message => q|A boolean indicating this is the first day in the week.|, + lastUpdated => 1149392808, + }, + + 'isEndOfWeek' => { + message => q|A boolean indicating this is the last day in the week.|, + lastUpdated => 1149392808, + }, + + 'isToday' => { + message => q|A boolean indicating that this day is today.|, + lastUpdated => 1149392808, + }, + + 'event_loop' => { + message => q|A loop containing all of the events in this day.|, + lastUpdated => 1149392808, + }, + + 'description' => { + message => q|The description or detail of this event.|, + lastUpdated => 1149392808, + }, + + 'name' => { + message => q|The name or title of this event.|, + lastUpdated => 1149392808, + }, + + 'start.date.human' => { + message => q|The human representation of the start date of this event.|, + lastUpdated => 1149392808, + }, + + 'start.time.human' => { + message => q|The human representation of the start time of this event.|, + lastUpdated => 1149392808, + }, + + 'start.date.epoch' => { + message => q|The epoch representation of the start date of this event.|, + lastUpdated => 1149392808, + }, + + 'start.year' => { + message => q|The 4-digit year this event starts.|, + lastUpdated => 1149392808, + }, + + 'start.month' => { + message => q|The name of the month this event starts, internationalized.|, + lastUpdated => 1149392808, + }, + + 'start.day' => { + message => q|The day this event starts.|, + lastUpdated => 1149392808, + }, + + 'start.day.dayOfWeek' => { + message => q|The name of the day of the week this event starts, internationalized.|, + lastUpdated => 1149392808, + }, + + 'end.date.human' => { + message => q|The human representation of the end date of this event.|, + lastUpdated => 1149392808, + }, + + 'end.time.human' => { + message => q|The human representation of the end time of this event.|, + lastUpdated => 1149392808, + }, + + 'end.date.epoch' => { + message => q|The epoch representation of the end date of this event.|, + lastUpdated => 1149392808, + }, + + 'end.year' => { + message => q|The 4-digit year this event ends.|, + lastUpdated => 1149392808, + }, + + 'end.month' => { + message => q|The name of the month this event ends, internationalized.|, + lastUpdated => 1149392808, + }, + + 'end.day' => { + message => q|The day this event ends.|, + lastUpdated => 1149392808, + }, + + 'end.day.dayOfWeek' => { + message => q|The name of the day of the week this event ends, internationalized.|, + lastUpdated => 1149392808, + }, + + 'startEndYearMatch' => { + message => q|A boolean indicating whether the start and end year match.|, + lastUpdated => 1149392808, + }, + + 'startEndMonthMatch' => { + message => q|A boolean indicating whether the start and end month match.|, + lastUpdated => 1149392808, + }, + + 'startEndDayMatch' => { + message => q|A boolean indicating whether the start and end day match.|, + lastUpdated => 1149392808, + }, + + 'isFirstDayOfEvent' => { + message => q|A boolean indicating whether this day is the first day of the event.|, + lastUpdated => 1149392808, + }, + + 'dateIsSameAsPrevious' => { + message => q|A boolean indicating whether the start and end date of this event are the same as the previous event's start and end date.|, + lastUpdated => 1149392808, + }, + + 'daysInEvent' => { + message => q|The length of this event in days.|, + lastUpdated => 1149392808, + }, + + 'url' => { + message => q|The URL to view this event in detail.|, + lastUpdated => 1149392808, + }, + + 'owner' => { + message => q|The username of the owner of the event.|, + lastUpdated => 1149392808, + }, + + 'url' => { + message => q|A URL to today's events.|, + lastUpdated => 1149392808, + }, + + 'prepad_loop' => { + message => q|A loop containing info to prepad the days in the month before the start day.|, + lastUpdated => 1149392808, + }, + + 'count' => { + message => q|The day of the week for this pad.|, + lastUpdated => 1149392808, + }, + + 'postpad_loop' => { + message => q|A loop containing the info to postpad the days in the month after the last day.|, + lastUpdated => 1149392808, + }, + + 'count' => { + message => q|The day of the week for this pad.|, + lastUpdated => 1149392808, + }, + + 'month' => { + message => q|The name of this month, internationalized.|, + lastUpdated => 1149392808, + }, + + 'year' => { + message => q|The 4 digit year in the current month of the month_loop.|, + lastUpdated => 1149392808, + }, + + '95' => { message => q|

The following template variables are available for you to customize your events calendar.

-

addevent.url
-The URL to add an event to the calendar. -

- -

addevent.label
-The translated label for the add event link. -

- -

sunday.label
-A label representing "Sunday". -

- -

monday.label
-A label representing "Monday". -

- -

tuesday.label
-A label representing "Tuesday". -

- -

wednesday.label
-A label representing "Wednesday". -

- -

thursday.label
-A label representing "Thursday". -

- -

friday.label
-A label representing "Friday". -

- -

saturday.label
-A label representing "Saturday". -

- -

sunday.label.short
-The first initial of the label for "Sunday". -

- -

monday.label.short
-The first initial of the label for "Monday". -

- -

tuesday.label.short
-The first initial of the label for "Tuesday". -

- -

wednesday.label.short
-The first initial of the label for "Wednesday". -

- -

thursday.label.short
-The first initial of the label for "Thursday". -

- -

friday.label.short
-The first initial of the label for "Friday". -

- -

saturday.label.short
-The first initial of the label for "Saturday". -

- -

month_loop
-A loop containing all the months in the calendar. -

- -
- -

daysInMonth
-The number of days in this month. -

- -

day_loop
-A loop containing all the days in the month. -

- -
- -

dayOfWeek
-The day number for the day in the week. -

- -

day
-The day of the month. -

- -

isStartOfWeek
-A boolean indicating this is the first day in the week. -

- -

isEndOfWeek
-A boolean indicating this is the last day in the week. -

- -

isToday
-A boolean indicating that this day is today. -

- -

event_loop
-A loop containing all of the events in this day. -

- -
- -

description
-The description or detail of this event. -

- -

name
-The name or title of this event. -

- -

start.date.human
-The human representation of the start date of this event. -

- -

start.time.human
-The human representation of the start time of this event. -

- -

start.date.epoch
-The epoch representation of the start date of this event. -

- -

start.year
-The 4-digit year this event starts. -

- -

start.month
-The name of the month this event starts, internationalized. -

- -

start.day
-The day this event starts. -

- -

start.day.dayOfWeek
-The name of the day of the week this event starts, internationalized. -

- -

end.date.human
-The human representation of the end date of this event. -

- -

end.time.human
-The human representation of the end time of this event. -

- -

end.date.epoch
-The epoch representation of the end date of this event. -

- -

end.year
-The 4-digit year this event ends. -

- -

end.month
-The name of the month this event ends, internationalized. -

- -

end.day
-The day this event ends. -

- -

end.day.dayOfWeek
-The name of the day of the week this event ends, internationalized. -

- -

startEndYearMatch
-A boolean indicating whether the start and end year match. -

- -

startEndMonthMatch
-A boolean indicating whether the start and end month match. -

- -

startEndDayMatch
-A boolean indicating whether the start and end day match. -

- -

isFirstDayOfEvent
-A boolean indicating whether this day is the first day of the event. -

- -

dateIsSameAsPrevious
-A boolean indicating whether the start and end date of this event are the same as the previous event's start and end date. -

- -

daysInEvent
-The length of this event in days. -

- -

url
-The URL to view this event in detail. -

- -

owner
-The username of the owner of the event. -

- -
- -

url
-A URL to today's events. -

- -
- -

prepad_loop
-A loop containing info to prepad the days in the month before the start day. -

- -
- -

count
-The day of the week for this pad. -

- -
- -

postpad_loop
-A loop containing the info to postpad the days in the month after the last day. -

- -
- -

count
-The day of the week for this pad. -

- -
- -

month
-The name of this month, internationalized. -

- -

year
-The 4 digit year in the current month of the month_loop. -

- -
- |, - lastUpdated => 1149238798 + lastUpdated => 1149392840 }, '509' => {