From 1eeb6efd7217fc40b911b74ca1f4a61788409f5d Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sun, 4 Jan 2009 09:01:39 +0000 Subject: Move slideshow link from sidebar_top() into the photo and album menus. --- modules/slideshow/helpers/slideshow_menu.php | 38 ++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 modules/slideshow/helpers/slideshow_menu.php (limited to 'modules/slideshow/helpers/slideshow_menu.php') diff --git a/modules/slideshow/helpers/slideshow_menu.php b/modules/slideshow/helpers/slideshow_menu.php new file mode 100644 index 00000000..269239da --- /dev/null +++ b/modules/slideshow/helpers/slideshow_menu.php @@ -0,0 +1,38 @@ +append(Menu::factory("link") + ->id("slideshow") + ->label(_("View slideshow")) + ->url("javascript:PicLensLite.start()") + ->css_id("gSlideshowLink")); + } + + public static function photo($menu, $theme) { + $menu + ->append(Menu::factory("link") + ->id("slideshow") + ->label(_("View slideshow")) + ->url("javascript:PicLensLite.start()") + ->css_id("gSlideshowLink")); + } +} -- cgit v1.2.3