diff --git a/lib/WebGUI/Help/Asset_EventManagementSystem.pm b/lib/WebGUI/Help/Asset_EventManagementSystem.pm index f7e9a50cd..434b92b27 100644 --- a/lib/WebGUI/Help/Asset_EventManagementSystem.pm +++ b/lib/WebGUI/Help/Asset_EventManagementSystem.pm @@ -329,6 +329,44 @@ our $HELP = { source => 'sub view', title => 'template help title', body => 'template help body', + variables => [ + { + 'name' => 'checkout.url' + }, + { + 'name' => 'checkout.label' + }, + { + 'name' => 'events_loop', + 'variables' => [ + { + 'name' => 'event', + 'description' => 'tmplVar event' + } + ] + }, + { + 'name' => 'paginateBar' + }, + { + 'name' => 'Pagination variables' + }, + { + 'name' => 'canManageEvents' + }, + { + 'name' => 'manageEvents.url' + }, + { + 'name' => 'manageEvents.label' + }, + { + 'name' => 'managePurchases.url' + }, + { + 'name' => 'managePurchases.label' + } + ], fields => [ ], related => [ @@ -351,6 +389,75 @@ our $HELP = { source => 'sub www_editEvent', title => 'event template help title', body => 'event template help body', + variables => [ + { + 'name' => 'title' + }, + { + 'name' => 'title.url' + }, + { + 'name' => 'description' + }, + { + 'name' => 'image' + }, + { + 'name' => 'price', + 'description' => 'tmplVar price' + }, + { + 'name' => 'sku', + 'description' => 'tmplVar sku' + }, + { + 'name' => 'sku template', + 'description' => 'tmplVar sku template' + }, + { + 'name' => 'weight', + 'description' => 'tmplVar weight' + }, + { + 'name' => 'numberRegistered' + }, + { + 'name' => 'maximumAttendees' + }, + { + 'name' => 'seatsRemaining' + }, + { + 'name' => 'eventIsFull' + }, + { + 'name' => 'eventIsApproved' + }, + { + 'name' => 'startDate.human' + }, + { + 'name' => 'endDate.human' + }, + { + 'name' => 'purchase.label' + }, + { + 'name' => 'purchase.url' + }, + { + 'name' => 'purchase.message' + }, + { + 'name' => 'purchase.wantToSearch.url' + }, + { + 'name' => 'purchase.wantToContinue.url' + }, + { + 'name' => 'purchase.label' + } + ], fields => [ ], related => [ @@ -373,6 +480,22 @@ our $HELP = { source => 'sub www_managePurchases', title => 'manage purchases template help title', body => 'manage purchases template help body', + variables => [ + { + 'name' => 'purchasesLoop', + 'variables' => [ + { + 'name' => 'purchaseUrl' + }, + { + 'name' => 'datePurchasedHuman' + } + ] + }, + { + 'name' => 'managePurchasesTitle' + } + ], fields => [ ], related => [ @@ -391,6 +514,89 @@ our $HELP = { source => 'sub www_viewPurchases', title => 'view purchase template help title', body => 'view purchase template help body', + variables => [ + { + 'name' => 'purchasesLoop', + 'variables' => [ + { + 'name' => 'regLoop', + 'variables' => [ + { + 'name' => 'startDateHuman' + }, + { + 'name' => 'startDateHuman' + }, + { + 'name' => 'endDateHuman' + }, + { + 'name' => 'startDate' + }, + { + 'name' => 'endDateHuman' + }, + { + 'name' => 'registrationId' + }, + { + 'name' => 'title', + }, + { + 'name' => 'description', + }, + { + 'name' => 'price', + 'description' => 'tmplVar price' + }, + { + 'name' => 'templateId' + }, + { + 'name' => 'returned' + }, + { + 'name' => 'approved', + 'description' => 'tmplVar approved' + }, + { + 'name' => 'templateId' + }, + { + 'name' => 'maximumAttendees', + }, + { + 'name' => 'userId' + }, + { + 'name' => 'createdByUserId' + } + ] + }, + { + 'name' => 'canReturnItinerary' + }, + { + 'name' => 'canAddEvents' + } + ] + }, + { + 'name' => 'canReturnTransaction' + }, + { + 'name' => 'viewPurchaseTitle' + }, + { + 'name' => 'canReturn' + }, + { + 'name' => 'transactionId' + }, + { + 'name' => 'appUrl' + } + ], fields => [ ], related => [ @@ -410,6 +616,161 @@ our $HELP = { source => 'sub www_search', title => 'search template help title', body => 'search template help body', + variables => [ + { + 'name' => 'calendarJS' + }, + { + 'name' => 'basicSearch.formHeader' + }, + { + 'name' => 'advSearch.formHeader' + }, + { + 'name' => 'isAdvSearch' + }, + { + 'name' => 'search.formFooter' + }, + { + 'name' => 'search.formSubmit' + }, + { + 'name' => 'events_loop', + 'variables' => [ + { + 'name' => 'event', + }, + { + 'name' => 'title', + }, + { + 'name' => 'description', + }, + { + 'name' => 'price', + 'description' => 'tmplVar price' + }, + { + 'name' => 'sku', + 'description' => 'tmplVar sku' + }, + { + 'name' => 'sku template', + 'description' => 'tmplVar sku template' + }, + { + 'name' => 'weight', + 'description' => 'tmplVar weight' + }, + { + 'name' => 'numberRegistered', + }, + { + 'name' => 'maximumAttendees', + }, + { + 'name' => 'seatsRemaining', + }, + { + 'name' => 'startDate.human', + }, + { + 'name' => 'startDate', + }, + { + 'name' => 'endDate.human', + }, + { + 'name' => 'endDate' + }, + { + 'name' => 'productId' + }, + { + 'name' => 'eventIsFull', + }, + { + 'name' => 'eventIsApproved', + }, + { + 'name' => 'manageToolbar' + }, + { + 'name' => 'purchase.label', + }, + { + 'name' => 'purchase.url', + } + ], + }, + { + 'name' => 'paginateBar', + }, + { + 'name' => 'manageEvents.url', + }, + { + 'name' => 'manageEvents.label', + }, + { + 'name' => 'managePurchases.url', + }, + { + 'name' => 'managePurchases.label', + }, + { + 'name' => 'noSearchDialog' + }, + { + 'name' => 'addEvent.url' + }, + { + 'name' => 'addEvent.label' + }, + { + 'name' => 'canManageEvents', + }, + { + 'name' => 'message' + }, + { + 'name' => 'numberOfSearchResults' + }, + { + 'name' => 'continue.url' + }, + { + 'name' => 'continue.label' + }, + { + 'name' => 'name.label' + }, + { + 'name' => 'starts.label' + }, + { + 'name' => 'ends.label' + }, + { + 'name' => 'price.label' + }, + { + 'name' => 'seats.label' + }, + { + 'name' => 'addToBadgeMessage' + }, + { + 'name' => 'search.filters.options' + }, + { + 'name' => 'search.data.url' + }, + { + 'name' => 'ems.wobject.dir' + } + ], fields => [ ], related => [ diff --git a/lib/WebGUI/i18n/English/Asset_EventManagementSystem.pm b/lib/WebGUI/i18n/English/Asset_EventManagementSystem.pm index 13e989938..cc3776f81 100644 --- a/lib/WebGUI/i18n/English/Asset_EventManagementSystem.pm +++ b/lib/WebGUI/i18n/English/Asset_EventManagementSystem.pm @@ -399,62 +399,68 @@ our $I18N = { ##hashref of hashes lastUpdated => 1140465899, }, + 'checkout.url' => { + message => q|A URL to take the user the screen that displays the contents of their shopping cart.|, + lastUpdated => 1149828278, + }, + + 'checkout.label' => { + message => q|A label to go with checkout.url. The internationalized word "Checkout".|, + lastUpdated => 1149828278, + }, + + 'events_loop' => { + message => q|This loop contains all events that have been approved so that users can register.|, + lastUpdated => 1149828278, + }, + + 'tmplVar event' => { + message => q|The information for one event that has been processed by its own event template.|, + lastUpdated => 1149828278, + }, + + 'paginateBar' => { + message => q|A bar to help the user page through sets of Events if several pages of Events exist.|, + lastUpdated => 1149828278, + }, + + 'Pagination variables' => { + message => q|Common pagination template variables.|, + lastUpdated => 1149828278, + }, + + 'canManageEvents' => { + message => q|A flag to indicate if the current user is allowed to Manage Events.|, + lastUpdated => 1149829190, + }, + + 'manageEvents.url' => { + message => q|A URL to take the user to the screen where Events can be managed (i.e. added, approved, deleted)|, + lastUpdated => 1149828278, + }, + + 'manageEvents.label' => { + message => q|An internationalized label to dispaly to the user the link for managing events.|, + lastUpdated => 1149828278, + }, + + 'managePurchases.url' => { + message => q|A URL to take the user to the screen where purchases can be managed (i.e. added, approved, deleted)|, + lastUpdated => 1149828278, + }, + + 'managePurchases.label' => { + message => q|An internationalized label to dispaly to the user the link for managing purchases.|, + lastUpdated => 1149828278, + }, + 'template help body' => { message => q|
This template is used to style the main page of the Event Management System where products are displayed to the user as well as providing a link for managing events in the system.
- -checkout.url
-A URL to take the user the screen that displays the contents of their shopping cart.
-
checkout.label
-A label to go with checkout.url. The internationalized word "Checkout".
-
events_loop
-This loop contains all events that have been approved so that users can register.
-
event
-The information for one event that has been processed by its own event template.
-
paginateBar
-A bar to help the user page through sets of Events if several pages of Events exist.
-
Pagination variables
-Common pagination template variables.
-
canManageEvents
-A flag to indiciate if the current user is allowed to Manage Events.
-
manageEvents.url
-A URL to take the user to the screen where Events can be managed (i.e. added, approved, deleted)
-
manageEvents.label
-An internationalized label to dispaly to the user the link for managing events.
-
managePurchases.url
-A URL to take the user to the screen where purchases can be managed (i.e. added, approved, deleted)
-
managePurchases.label
-An internationalized label to dispaly to the user the link for managing purchases.
-
This template is used to display the contents of a single Event to the user.
- -title
-The title of this event.
-
title.url
-A URL to display a list of events that have this event
-
description
-The description of this event.
-
image
-The image assigned to represent this event.
-
price
-The price of this event.
-
sku
-The SKU for this event.
-
sku template
-The SKU templates used to generate the SKU for this event.
-
weight
-The weight associated with materials for this event.
-
numberRegistered
-The number of people currently registered for this event.
-
maximumAttendees
-The number of people allowed to attend this event.
-
seatsRemaining
-The number of available seats remaining for this event.
-
eventIsFull
-A boolean that is true if the there are no available seats remaining in this event.
-
eventIsApproved
-A boolean that is true if the event has been approved.
-
startDate.human
-The date and time this event starts, in human readable format.
-
endDate.human
-The date and time this event ends, in human readable format.
-
purchase.label
-An internationalized label to display to the user the link for purchasing this event.
-If the event is full, the label will be "Sold out".
-
purchase.url
-A URL for the user to register for this event and add it to their shopping cart.
-If the event is full, the url will be blank.
-
purchase.message
-A message to ask the user whether or not they'd like to see subevents for this event.
-If the event is full, this variable will be blank.
-
purchase.wantToSearch.url
-A URL to search for events that are requirements for this event.
-If the event is full, this variable will be blank.
-
purchase.wantToContinue.url
-A URL to add this event to the cart.
-If the event is full, this variable will be blank.
-
purchase.label
-The internationalized label "Add To Cart".
-If the event is full, this variable will be blank.
-
This template is used to style the screen of the Event Management System where the user can manage their purchases.
- -purchasesLoop
-This loop contains all events that have been approved so that users can view their purchases.
-
purchaseUrl
-A link to view the details of this purchase.
-
datePurchasedHuman
-The date and time this purchase was started in a human readable format.
-
managePurchasesTitle
-An internationalized label to title this screen.
-
This template is used to style the screen of the Event Management System where @@ -606,120 +740,8 @@ the users and admins can view or edit a purchase.
In addition to the template variables below, this template also has access to the EMS Asset variables.
- -purchasesLoop
-This loop contains all registrations that are included in this purchase.
-
regLoop
-This loop contains all events that are included in this registration.
-
startDateHuman
-The start date in a human readable format for this event.
-
startDateHuman
-The start date in a human readable format for this event.
-
endDateHuman
-The end date in a human readable format for this event.
-
startDate
-This event's start date and time in epoch format.
-
endDateHuman
-This event's end date and time in epoch format.
-
registrationId
-The user's registrationId for this event.
-
title
-The title of this event.
-
description
-The description of this event.
-
price
-The price of this event.
-
templateId
-The template used to style this event if it is to be displayed.
-
returned
-A boolean that will be 1 if this event has been returned by the user.
-
approved
-A boolean that will be 1 if this event has been approved.
-
templateId
-The template used to style this event if it is to be displayed.
-
maximumAttendees
-The number of people allowed to attend this event.
-
userId
-The Id of the user set to use this badge.
-
createdByUserId
-The Id of the user who created this badge.
-
canReturnItinerary
-A boolean indicating whether or not this event can be returned.
-
canAddEvents
-A boolean indicating whether or not the current user is allowed to add events. Admins, the owner
-of the transaction, the user who created the registration or the user who the registration is
-for are allowed to add events.
-
canReturnTransaction
-A boolean that is true if any purchase can be returned.
-
viewPurchaseTitle
-An internationalized label to title this screen.
-
canReturn
-A boolean indicating if the current user may return events in the purchase. Users who can add events
-fall into this group.
-
transactionId
-The unique identifier for this transaction in the database.
-
appUrl
-A URL back to the main screen of the Asset.
-
This template is used to style the screen of the Event Management System where the users and admins can view or edit a purchase.
- -calendarJS
-Script tag to set up the javascript calendar picker.
-
basicSearch.formHeader
-Form header for a basic search.
-
advSearch.formHeader
-Form header for an advanced search.
-
isAdvSearch
-Boolean indicating if an advanced search form has been requested.
-
search.formFooter
-Form footer code for either type of search.
-
search.formSubmit
-A button to submit the user's search data. The button will contain the internationalized word "Filter".
-
events_loop
-This loop contains all events that have been approved so that users can register.
-
event
-The information for one event that has been processed by its own event template.
-
title
-The title of this event.
-
description
-The description of this event.
-
price
-The price of this event.
-
sku
-The SKU for this event.
-
sku template
-The SKU templates used to generate the SKU for this event.
-
weight
-The weight associated with materials for this event.
-
numberRegistered
-The number of people currently registered for this event.
-
maximumAttendees
-The number of people allowed to attend this event.
-
seatsRemaining
-The number of available seats remaining for this event.
-
startDate.human
-The date and time this event starts, in human readable format.
-
startDate
-The date and time this event starts, in epoch format.
-
endDate.human
-The date and time this event ends, in human readable format.
-
endDate
-The date and time this event ends, in epoch format.
-
productId
-The unique identifier for this product.
-
eventIsFull
-A boolean that is true if the there are no available seats remaining in this event.
-
eventIsApproved
-A boolean that is true if this event has been approved.
-
manageToolbar
-Code for an toolbar with icons to delete, edit and reorder events.
-
purchase.label
-An internationalized label to display to the user the link for purchasing this event.
-If the event is full, the label will be "Sold out".
-
purchase.url
-A URL for the user to register for this event and add it to their shopping cart.
-If the event is full, the url will be blank.
-
paginateBar
-A bar to help the user page through sets of Events if several pages of Events exist.
-
Pagination variables
-Common pagination template variables.
-
manageEvents.url
-A URL to take the user to the screen where Events can be managed (i.e. added, approved, deleted)
-
manageEvents.label
-An internationalized label to dispaly to the user the link for managing events.
-
managePurchases.url
-A URL to take the user to the screen where purchases can be managed (i.e. added, approved, deleted)
-
managePurchases.label
-An internationalized label to dispaly to the user the link for managing purchases.
-
noSearchDialog
-A boolean that indicates if the user has requested that no search dialog be presented
-by setting the "hide" form variable.
-
addEvent.url
-A URL to take the user to the screen to add a new event.
-
addEvent.label
-An internationalized label to dispaly to the user the link for adding an event.
-
canManageEvents
-A flag to indiciate if the current user is in the group to manage events.
-
message
-Messages from the system about the number and type of results being displayed.
-
numberOfSearchResults
-The number of results returned by the current search.
-
continue.url
-A url to add this event to the cart.
-
continue.label
-The internationalized label, "Continue" to go with continue.url.
-
name.label
-The internationalized label, "Event".
-
starts.label
-The internationalized label, "Starts".
-
ends.label
-The internationalized label, "Ends".
-
price.label
-The internationalized label, "Price".
-
seats.label
-The internationalized label, "Seats".
-
addToBadgeMessage
-A message from the system if a badge was successfully added to this transaction.
-
search.filters.options
-Javascript for a search interface for Events based on their properties and metadata.
-
search.data.url
-The URL to this Asset.
-
ems.wobject.dir
-The URL the EventManagementSystem area in the WebGUI Extras directory.
-