template variables broken out

This commit is contained in:
Colin Kuskie 2006-06-04 03:48:41 +00:00
parent 3bd48db49c
commit 8b7946e994
6 changed files with 1231 additions and 652 deletions

View file

@ -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',

View file

@ -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',

View file

@ -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',

View file

@ -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 (<b>canEdit</b> 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 <b>field_loop</b> 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 <b>field_loop</b> it's also possible to access all form fields directly. To accomplish this you should use these variables. Call them with <b>field.noloop.<i>fieldName</i>.<i>property</i></b>, where fieldName is the name of the field (not the label) and property is anyone of the properties supplied by the <b>field_loop</b>. If you want the form tag of field 'name' you should use <b>field.noloop.name.form</b> anywhere in your template. If you want to know if the field is required use <b>field.noloop.name.isRequired</b>.|,
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|<p>The following template variables are available for Data Form templates.
</p>
<p>* : Only available if the user has already submitted the form.<br />
! : This variable is required for the Data Form to function correctly.</p>
<p><b>canEdit</b><br />
A conditional indicating whether the current user has the privileges to edit this Data Form.
</p>
<p><b>entryId</b><br />
The ID of the current entry being viewed. This variable is undefined
unless the user can edit the Data Form (<b>canEdit</b> it true).
</p>
<p><b>form.start</b> !<br />
The beginning of the form.
</p>
<p><b>entryList.url</b><br />
Following this URL will display a list of all the record entries in this data form.
</p>
<p><b>entryList.label</b><br />
The default label for the entryList.url variable.
</p>
<p><b>export.tab.url</b><br />
Following this URL will export the data stored to this data form as a tab delimited file.
</p>
<p><b>export.tab.label</b><br />
The default label for the export.tab.url variable.
</p>
<p><b>back.url</b><br />
A url that will take you back to the default page in the form.
</p>
<p><b>back.label</b><br />
The default label for the back.url variable.
</p>
<p><b>addField.url</b><br />
The URL that content managers will visit to add a new field to the form.
</p>
<p><b>addField.label</b><br />
The default label for the addField.url variable.
</p>
<p><b>addTab.url</b><br />
The URL that content managers will visit to add a new tab to the form.
</p>
<p><b>addTab.label</b><br />
The default label for the addTab.url variable.
</p>
<p><b>tab.init</b>!<br />
Code to enable tabs to work correctly.
</p>
<p><b>username</b> *<br />
The username of the user that submitted the data.
</p>
<p><b>userId</b> *<br />
The user id of the user that submitted the data.
</p>
<p><b>date</b> *<br />
The date that this data was submitted or last updated formatted as the user's preferred date/time format.
</p>
<p><b>epoch</b> *<br />
The date that this data was submitted or last updated formatted as an epoch date.
</p>
<p><b>ipAddress</b> *<br />
The IP address of the user that submitted the data.
</p>
<p><b>edit.url</b> *<br />
The URL to the page to edit this entry.
</p>
<p><b>error_loop</b> *<br />
A loop containing error information, for instance if someone doesn't fill out a required field.
</p>
<div class="helpIndent">
<b>error.message</b> *<br />
An error message indicating what the user might have done wrong.
</div>
<p><b>tab_loop</b><br />
A loop containing information about tabs that may have been defined for this Data Form.
</p>
<div class="helpIndent">
<p><b>tab.start</b> !<br />
Code to start the tab.
</p>
<p><b>tab.sequence</b><br />
A number indicating which tab this is (first, second, etc.).
</p>
<p><b>tab.label</b><br />
The label for this tab.
</p>
<p><b>tab.tid</b><br />
This tab's ID.
</p>
<p><b>tab.subtext</b><br />
A description of this tab that can explain more the tab contents than the label.
</p>
<p><b>tab.controls</b> !<br />
Editing icons for this tab.
</p>
<p><b>tab.field_loop</b> !<br />
A loop containing all the fields for this tab. See the <b>field_loop</b> description
below to see which template variables may be used inside this loop.
</p>
<div class="helpIndent">
<p><b>tab.field.form</b> !<br />
The form element for this field.
</p>
<p><b>tab.field.name</b><br />
The name of this field.
</p>
<p><b>tab.field.tid</b><br />
The ID of the Tab that this field is in.
</p>
<p><b>tab.field.value</b><br />
The value of this field. If this is new data, then the default value will be used.
</p>
<p><b>tab.field.label</b><br />
The text label for this field.
</p>
<p><b>tab.field.isHidden</b><br />
A conditional indicating whether this field is supposed to be hidden.
</p>
<p><b>tab.field.isDisplayed</b><br />
A conditional indicating whether this field is supposed to be displayed.
</p>
<p><b>tab.field.isRequired</b><br />
A conditional indicating whether this field is required.
</p>
<p><b>tab.field.isMailField</b><br />
A conditional indicating whether this field is present only to facilitate sending an email.
</p>
<p><b>tab.field.subtext</b><br />
A description of the field so that users know what to put in the field.
</p>
<p><b>tab.field.controls</b><br />
WebGUI's administrative controls for editing this field.
</p>
</div>
<p><b>tab.end</b> !<br />
Code to end the tab.
</p>
</div>
<p><b>field_loop</b><br />
A loop containing all of the field information.
</p>
<div class="helpIndent">
<p><b>field.form</b> !<br />
The form element for this field.
</p>
<p><b>field.name</b><br />
The name of this field.
</p>
<p><b>field.tid</b><br />
The ID of the Tab that this field is in.
</p>
<p><b>field.inTab</b><br />
A conditional indicating if the field is inside of a tab.
</p>
<p><b>field.value</b><br />
The value of this field. If this is new data, then the default value will be used.
</p>
<p><b>field.label</b><br />
The text label for this field.
</p>
<p><b>field.isHidden</b><br />
A conditional indicating whether this field is supposed to be hidden.
</p>
<p><b>field.isDisplayed</b><br />
A conditional indicating whether this field is supposed to be displayed.
</p>
<p><b>field.isRequired</b><br />
A conditional indicating whether this field is required.
</p>
<p><b>field.isMailField</b><br />
A conditional indicating whether this field is present only to facilitate sending an email.
</p>
<p><b>field.subtext</b><br />
A description of the field so that users know what to put in the field.
</p>
<p><b>field.controls</b><br />
WebGUI's administrative controls for editing this field.
</p>
</div>
<p><b>field.noloop.<i>fieldName</i>.<i>property</i></b><br />
From outside the <b>field_loop</b> it's also possible to access all form fields directly. To accomplish this you should use these variables. Call them with <b>field.noloop.<i>fieldName</i>.<i>property</i></b>, where fieldName is the name of the field (not the label) and property is anyone of the properties supplied by the <b>field_loop</b>. If you want the form tag of field 'name' you should use <b>field.noloop.name.form</b> anywhere in your template. If you want to know if the field is required use <b>field.noloop.name.isRequired</b>.
</p>
<p><b>form.send</b> !<br />
A form button with the internationalized word "send" printed on it.
</p>
<p><b>form.save</b> !<br />
A form button to submit the form data.
</p>
<p><b>form.end</b> !<br />
The end of the form.
</p>
|,
lastUpdated => 1146629940,
|,
lastUpdated => 1149392104,
},
'61' => {
@ -577,115 +620,98 @@ The end of the form.
'89' => {
message => q|<p>The following variables are available to the Data Form List template:
</p>
|,
lastUpdated => 1149392138,
},
<p><b>back.url</b><br />
The URL to go back to the Data Form data entry page.
</p>
'field.id' => {
message => q|A unique identifier representing this field in the database.|,
lastUpdated => 1149392138,
},
<p><b>back.label</b><br />
The default label for the back.url.
</p>
'field.type' => {
message => q|The data type associated with this field.|,
lastUpdated => 1149392138,
},
<p><b>field_loop</b><br />
A loop containing information about the fields in this Data Form.
</p>
'record_loop' => {
message => q|A loop containing the record entries of this data form.|,
lastUpdated => 1149392138,
},
<div class="helpIndent">
'record.entryId' => {
message => q|A unique identifier for this record entry.|,
lastUpdated => 1149392138,
},
<p><b>field.name</b><br />
The web safe name of this field.
</p>
'record.ipAddress' => {
message => q|The IP Address of the user that submitted this record entry.|,
lastUpdated => 1149392138,
},
<p><b>field.label</b><br />
The human readable label for this field.
</p>
'record.edit.url' => {
message => q|The URL to edit this record.|,
lastUpdated => 1149392138,
},
<p><b>field.id</b><br />
A unique identifier representing this field in the database.
</p>
'record.edit.icon' => {
message => q|An icon and associated URL for editing this record.|,
lastUpdated => 1149392138,
},
<p><b>field.isMailField</b><br />
A conditional indicating whether this field exists for the mail subsystem of the data form.
</p>
'record.delete.url' => {
message => q|The URL to delete this record.|,
lastUpdated => 1149392138,
},
<p><b>field.type</b><br />
The data type associated with this field.
</p>
'record.delete.icon' => {
message => q|An icon and associated URL for deleting this record.|,
lastUpdated => 1149392138,
},
</div>
'record.username' => {
message => q|The username of the person that submitted this record entry.|,
lastUpdated => 1149392138,
},
<p><b>record_loop</b><br />
A loop containing the record entries of this data form.
</p>
'record.userId' => {
message => q|The user id of the person that submitted this record entry.|,
lastUpdated => 1149392138,
},
<div class="helpIndent">
'record.submissionDate.epoch' => {
message => q|The epoch datestamp for this record entry.|,
lastUpdated => 1149392138,
},
<p><b>record.entryId</b><br />
A unique identifier for this record entry.
</p>
'record.submissionDate.human' => {
message => q|A human readable date stamp, based upon the user's preferences, for this record entry.|,
lastUpdated => 1149392138,
},
<p><b>record.ipAddress</b><br />
The IP Address of the user that submitted this record entry.
</p>
'record.data_loop' => {
message => q|A loop containing the data submitted by the user for each field in this data form.|,
lastUpdated => 1149392138,
},
<p><b>record.edit.url</b><br />
The URL to edit this record.
</p>
'record.data.name' => {
message => q|The web safe name of this field.|,
lastUpdated => 1149392138,
},
<p><b>record.edit.icon</b><br />
An icon and associated URL for editing this record.
</p>
'record.data.label' => {
message => q|The human readable label for this field.|,
lastUpdated => 1149392138,
},
<p><b>record.delete.url</b><br />
The URL to delete this record.
</p>
'record.data.value' => {
message => q|The value submitted by the user for this field in this record entry.|,
lastUpdated => 1149392138,
},
<p><b>record.delete.icon</b><br />
An icon and associated URL for deleting this record.
</p>
<p><b>record.username</b><br />
The username of the person that submitted this record entry.
</p>
<p><b>record.userId</b><br />
The user id of the person that submitted this record entry.
</p>
<p><b>record.submissionDate.epoch</b><br />
The epoch datestamp for this record entry.
</p>
<p><b>record.submissionDate.human</b><br />
A human readable date stamp, based upon the user's preferences, for this record entry.
</p>
<p><b>record.data_loop</b><br />
A loop containing the data submitted by the user for each field in this data form.
</p>
<div class="helpIndent">
<p><b>record.data.name</b><br />
The web safe name of this field.
</p>
<p><b>record.data.label</b><br />
The human readable label for this field.
</p>
<p><b>record.data.value</b><br />
The value submitted by the user for this field in this record entry.
</p>
<p><b>record.data.isMailField</b><br />
A conditional indicating whether this field exists for the mail subsystem of the data form.
</p>
</div>
</div>|,
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' => {

View file

@ -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|<p>The following is the list of template variables available in when displaying an event from the calendar.
</p>
<p><b>title</b><br />
The title of this event.
</p>
<p><b>start.label</b><br />
The translated label for the start date.
</p>
<p><b>start.date</b><br />
The date this event starts.
</p>
<p><b>start.time</b><br />
The time this event starts.
</p>
<p><b>end.date</b><br />
The date this event ends.
</p>
<p><b>end.time</b><br />
The time this event ends.
</p>
<p><b>end.label</b><br />
The translated label for the end date.
</p>
<p><b>canEdit</b><br />
A condition indicating whether the current user can edit an event.
</p>
<p><b>edit.url</b><br />
The URL to edit this event.
</p>
<p><b>edit.label</b><br />
The translated label for the edit URL.
</p>
<p><b>delete.url</b><br />
The URL to delete this event.
</p>
<p><b>delete.label</b><br />
The translated label for the delete URL.
</p>
<p><b>description</b><br />
The description of this event.
</p>
<p><b>eventLocation</b><br />
Where the event will occur.
</p>
|,
lastUpdated => 1146763452,
lastUpdated => 1149392756,
},
'519' => {

View file

@ -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|<p>The following template variables are available for you to customize your events calendar.
</p>
<p><b>addevent.url</b><br />
The URL to add an event to the calendar.
</p>
<p><b>addevent.label</b><br />
The translated label for the add event link.
</p>
<p><b>sunday.label</b><br />
A label representing "Sunday".
</p>
<p><b>monday.label</b><br />
A label representing "Monday".
</p>
<p><b>tuesday.label</b><br />
A label representing "Tuesday".
</p>
<p><b>wednesday.label</b><br />
A label representing "Wednesday".
</p>
<p><b>thursday.label</b><br />
A label representing "Thursday".
</p>
<p><b>friday.label</b><br />
A label representing "Friday".
</p>
<p><b>saturday.label</b><br />
A label representing "Saturday".
</p>
<p><b>sunday.label.short</b><br />
The first initial of the label for "Sunday".
</p>
<p><b>monday.label.short</b><br />
The first initial of the label for "Monday".
</p>
<p><b>tuesday.label.short</b><br />
The first initial of the label for "Tuesday".
</p>
<p><b>wednesday.label.short</b><br />
The first initial of the label for "Wednesday".
</p>
<p><b>thursday.label.short</b><br />
The first initial of the label for "Thursday".
</p>
<p><b>friday.label.short</b><br />
The first initial of the label for "Friday".
</p>
<p><b>saturday.label.short</b><br />
The first initial of the label for "Saturday".
</p>
<p><b>month_loop</b><br />
A loop containing all the months in the calendar.
</p>
<div class="helpIndent">
<p><b>daysInMonth</b><br />
The number of days in this month.
</p>
<p><b>day_loop</b><br />
A loop containing all the days in the month.
</p>
<div class="helpIndent">
<p><b>dayOfWeek</b><br />
The day number for the day in the week.
</p>
<p><b>day</b><br />
The day of the month.
</p>
<p><b>isStartOfWeek</b><br />
A boolean indicating this is the first day in the week.
</p>
<p><b>isEndOfWeek</b><br />
A boolean indicating this is the last day in the week.
</p>
<p><b>isToday</b><br />
A boolean indicating that this day is today.
</p>
<p><b>event_loop</b><br />
A loop containing all of the events in this day.
</p>
<div class="helpIndent">
<p><b>description</b><br />
The description or detail of this event.
</p>
<p><b>name</b><br />
The name or title of this event.
</p>
<p><b>start.date.human</b><br />
The human representation of the start date of this event.
</p>
<p><b>start.time.human</b><br />
The human representation of the start time of this event.
</p>
<p><b>start.date.epoch</b><br />
The epoch representation of the start date of this event.
</p>
<p><b>start.year</b><br />
The 4-digit year this event starts.
</p>
<p><b>start.month</b><br />
The name of the month this event starts, internationalized.
</p>
<p><b>start.day</b><br />
The day this event starts.
</p>
<p><b>start.day.dayOfWeek</b><br />
The name of the day of the week this event starts, internationalized.
</p>
<p><b>end.date.human</b><br />
The human representation of the end date of this event.
</p>
<p><b>end.time.human</b><br />
The human representation of the end time of this event.
</p>
<p><b>end.date.epoch</b><br />
The epoch representation of the end date of this event.
</p>
<p><b>end.year</b><br />
The 4-digit year this event ends.
</p>
<p><b>end.month</b><br />
The name of the month this event ends, internationalized.
</p>
<p><b>end.day</b><br />
The day this event ends.
</p>
<p><b>end.day.dayOfWeek</b><br />
The name of the day of the week this event ends, internationalized.
</p>
<p><b>startEndYearMatch</b><br />
A boolean indicating whether the start and end year match.
</p>
<p><b>startEndMonthMatch</b><br />
A boolean indicating whether the start and end month match.
</p>
<p><b>startEndDayMatch</b><br />
A boolean indicating whether the start and end day match.
</p>
<p><b>isFirstDayOfEvent</b><br />
A boolean indicating whether this day is the first day of the event.
</p>
<p><b>dateIsSameAsPrevious</b><br />
A boolean indicating whether the start and end date of this event are the same as the previous event's start and end date.
</p>
<p><b>daysInEvent</b><br />
The length of this event in days.
</p>
<p><b>url</b><br />
The URL to view this event in detail.
</p>
<p><b>owner</b><br />
The username of the owner of the event.
</p>
</div>
<p><b>url</b><br />
A URL to today's events.
</p>
</div>
<p><b>prepad_loop</b><br />
A loop containing info to prepad the days in the month before the start day.
</p>
<div class="helpIndent">
<p><b>count</b><br />
The day of the week for this pad.
</p>
</div>
<p><b>postpad_loop</b><br />
A loop containing the info to postpad the days in the month after the last day.
</p>
<div class="helpIndent">
<p><b>count</b><br />
The day of the week for this pad.
</p>
</div>
<p><b>month</b><br />
The name of this month, internationalized.
</p>
<p><b>year</b><br />
The 4 digit year in the current month of the month_loop.
</p>
</div>
|,
lastUpdated => 1149238798
lastUpdated => 1149392840
},
'509' => {