From 97b4ac60ace7750baa1a1ce5e88108ab85dc35ca Mon Sep 17 00:00:00 2001 From: rWatcher Date: Wed, 24 Feb 2010 17:00:24 -0500 Subject: [PATCH] Add CalendarView icon to tag menu. --- modules/calendarview/helpers/calendarview_event.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/modules/calendarview/helpers/calendarview_event.php b/modules/calendarview/helpers/calendarview_event.php index 2fabcc2f..5c5ee732 100644 --- a/modules/calendarview/helpers/calendarview_event.php +++ b/modules/calendarview/helpers/calendarview_event.php @@ -41,4 +41,12 @@ class calendarview_event_Core { ->url(url::site("calendarview/calendar/")) ->css_id("g-calendarview-link")); } + + static function tag_menu($menu, $theme) { + $menu->append(Menu::factory("link") + ->id("calendarview") + ->label(t("View Calendar")) + ->url(url::site("calendarview/calendar/")) + ->css_id("g-calendarview-link")); + } } \ No newline at end of file