From aa3f0a2858c2305a24ca1384c44fb7e61fff16ac Mon Sep 17 00:00:00 2001 From: Ian Walls Date: Fri, 5 Oct 2012 16:21:35 -0400 Subject: [PATCH] Issue 12: Descriptions for Calendar and Calendar Event page types Adds brief descriptions to Calendar and Calendar Event, placing the $description variable after the $icon variable --- code/Calendar.php | 3 +++ code/CalendarEvent.php | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/code/Calendar.php b/code/Calendar.php index 3be8d3d..ad7ce67 100755 --- a/code/Calendar.php +++ b/code/Calendar.php @@ -57,6 +57,9 @@ class Calendar extends Page { static $icon = "event_calendar/images/calendar"; + static $description = "A collection of Calendar Events"; + + static $event_class = "CalendarEvent"; diff --git a/code/CalendarEvent.php b/code/CalendarEvent.php index 8339dfa..689f44f 100755 --- a/code/CalendarEvent.php +++ b/code/CalendarEvent.php @@ -27,6 +27,7 @@ class CalendarEvent extends Page static $icon = "event_calendar/images/event"; + static $description = "An individual event entry"; static $datetime_class = "CalendarDateTime"; @@ -238,4 +239,4 @@ public function CurrentDate() { } -} \ No newline at end of file +}