From bc87ca60ea92e6e2aa588715fcb5592089a98279 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Wed, 19 Oct 2005 23:47:36 +0000 Subject: [PATCH] update template documentation, change to XHTML --- .../i18n/English/Asset_EventsCalendar.pm | 562 ++++++++++-------- 1 file changed, 313 insertions(+), 249 deletions(-) diff --git a/lib/WebGUI/i18n/English/Asset_EventsCalendar.pm b/lib/WebGUI/i18n/English/Asset_EventsCalendar.pm index b027d6a8d..9dfcc09f0 100644 --- a/lib/WebGUI/i18n/English/Asset_EventsCalendar.pm +++ b/lib/WebGUI/i18n/English/Asset_EventsCalendar.pm @@ -7,82 +7,90 @@ our $I18N = { lastUpdated => 1066572488 }, - '71' => { - message => q|

Events calendars are used on many intranets to keep track of internal dates that affect a whole organization. Also, Events Calendars on consumer sites are a great way to let your customers know what events you'll be attending and what promotions you'll be having. -

+ '507 description' => { + message => q|Sets the scope of the events displayed by this calendar. +

+
+
Regular
+
This calendar will display its own events.
+
Global
+
The calendar will display events from every calendar in the site.
+
Master
+
The calendar will display events from every calendar below it in the hierarchy.
+
+
|, + lastUpdated => 1129668992, + }, -Start Month
-Choose the start month for your calendar. + '94 description' => { + message => q|Choose a layout for the events calendar.|, + lastUpdated => 1129668992, + }, + + '80 description' => { + message => q|Choose a layout for the individual events within the calendar.|, + lastUpdated => 1129668992, + }, + + '81 description' => { + message => q|Choose the start month for your calendar.
First in the calendar
The calendar will start at whatever the earliest date in the calendar is.
-
Now!
The calendar will start on the current date and time. It will advance and not show events that have already passed.
-
Current
The calendar will always start on the current month. It is similar to "Now!" but advances from month to month. This allows events in the current month that have passed to still be displayed.
-
January
The calendar will always start on January of the current year.
-
+|, + lastUpdated => 1129668992, + }, -

- -End Month
-Choose the end month for your calendar. + '84 description' => { + message => q|Choose the end month for your calendar.

Last in the calendar
The calendar will end at the last date in the calendar.
-
Show 12 months from the start
Show 9 months from the start
Show 6 months from the start
Show 3 months from the start
Show N months from the start month. If the start month is variable, then this provides a sliding window into the events in this calendar.
-
Current
The calendar will always end on the current month.
-
-
-

-Default Month
-Choose which month for this calendar to start on when a visitor comes to the page containing the calendar. +|, + lastUpdated => 1129668992, + }, -

-Is master?
-If set to yes then this calendar will display events from all other calendars in the system. + '90 description' => { + message => q|Choose which month for this calendar to display when it is viewed.|, + lastUpdated => 1129668992, + }, -

-Proceed to add event?
-Leave this set to yes if you want to add events to the Events Calendar directly after creating it. + '19 description' => { + message => q|How many months of data should be shown before paginating?|, + lastUpdated => 1129668992, + }, -

-Main Template
-Choose a layout for the events calendar. - -

-Event Template
-Choose a layout for the individual events within the calendars. - -

-Paginate After
-How many months of data should be shown before paginating? + '71' => { + message => q|

Events calendars are used on many intranets to keep track of internal dates that affect a whole organization. Also, Events Calendars on consumer sites are a great way to let your customers know what events you'll be attending and what promotions you'll be having.


Note: The following style is specific to the Events Calendar. +

-.eventTitle
+.eventTitle
The title of an individual event. - +

|, - lastUpdated => 1100902948, + lastUpdated => 1129669045, }, @@ -176,249 +184,305 @@ The title of an individual event. }, '95' => { - message => q|The following template variables are available for you to customize your events calendar. -

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

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

+

-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 year this event starts. -

- -start.month
-The month this event starts. -

- -start.day
-The day this event starts. -

- -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 year this event ends. -

- -end.month
-The month this event ends. -

- -end.day
-The day this event ends. -

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

- - - -

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

- -year
-The name of this year. -

- - - -

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

+

-monday.label
+

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

+

-tuesday.label
+

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

+

-wednesday.label
+

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

+

-thursday.label
+

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

+

-friday.label
+

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

+

-saturday.label
+

+saturday.label
A label representing "Saturday". +

+

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

+

-monday.label.short
+

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

+

-tuesday.label.short
+

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

+

-wednesday.label.short
+

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

+

-thursday.label.short
+

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

+

-friday.label.short
+

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

+

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

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

+ +
+ +

+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 => 1099548964 + lastUpdated => 1129765329 }, '509' => {