From b5444d0d5d89ea102ba8d05d624399bae3338fbf Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Thu, 20 Apr 2006 23:21:27 +0000 Subject: [PATCH] Explicit copies of event template variables, added pagination template variables to search template. --- .../Help/Asset_EventManagementSystem.pm | 8 ++-- .../English/Asset_EventManagementSystem.pm | 48 +++++++++++++++++-- 2 files changed, 49 insertions(+), 7 deletions(-) diff --git a/lib/WebGUI/Help/Asset_EventManagementSystem.pm b/lib/WebGUI/Help/Asset_EventManagementSystem.pm index c8e9722b1..a716a9465 100644 --- a/lib/WebGUI/Help/Asset_EventManagementSystem.pm +++ b/lib/WebGUI/Help/Asset_EventManagementSystem.pm @@ -234,10 +234,6 @@ our $HELP = { tag => 'event management system add/edit', namespace => 'Asset_EventManagementSystem', }, - { - tag => 'event management system event template', - namespace => 'Asset_EventManagementSystem', - }, { tag => 'pagination template variables', namespace => 'WebGUI', @@ -323,6 +319,10 @@ our $HELP = { tag => 'event management system add/edit', namespace => 'Asset_EventManagementSystem', }, + { + tag => 'pagination template variables', + namespace => 'WebGUI', + }, { tag => 'template language', namespace => 'Asset_Template', diff --git a/lib/WebGUI/i18n/English/Asset_EventManagementSystem.pm b/lib/WebGUI/i18n/English/Asset_EventManagementSystem.pm index 7e4070499..95c7543e8 100644 --- a/lib/WebGUI/i18n/English/Asset_EventManagementSystem.pm +++ b/lib/WebGUI/i18n/English/Asset_EventManagementSystem.pm @@ -387,9 +387,51 @@ This loop contains all events that have been approved so that users can register The information for one event that has been processed by its own event template.

-

Event template variables
-The template variables from the Event template. This gives you access to the raw -data for the event. +

title
+The title of this event. +

+ +

description
+The description of this event. +

+ +

price
+The price of 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. +

+ +

endDate.human
+The date and time this event ends, in human readable format. +

+ +

eventIsFull
+A boolean that is true if the there are no available seats remaining in this event. +

+ +

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. +