summaryrefslogtreecommitdiff
path: root/modules/slideshow/helpers/slideshow_event.php
diff options
context:
space:
mode:
authorChad Kieffer <ckieffer@gmail.com>2009-07-30 17:28:05 -0600
committerChad Kieffer <ckieffer@gmail.com>2009-07-30 17:28:05 -0600
commit9d70f142199f4f3c3ec63fcbb125f5c33c91d9ec (patch)
tree189532a66c8996c6f69003ba01e455ce1b050a4e /modules/slideshow/helpers/slideshow_event.php
parentca4f03b93e1c5eb90d1677684fd5220c000d7d34 (diff)
parent19d89f94f9939bbd879d6c8ead4e802f592ec808 (diff)
Merge branch 'master' of git@github.com:gallery/gallery3
Diffstat (limited to 'modules/slideshow/helpers/slideshow_event.php')
-rw-r--r--modules/slideshow/helpers/slideshow_event.php30
1 files changed, 30 insertions, 0 deletions
diff --git a/modules/slideshow/helpers/slideshow_event.php b/modules/slideshow/helpers/slideshow_event.php
index c6cd7dc7..cf79f71a 100644
--- a/modules/slideshow/helpers/slideshow_event.php
+++ b/modules/slideshow/helpers/slideshow_event.php
@@ -29,4 +29,34 @@ class slideshow_event_Core {
site_status::clear("slideshow_needs_rss");
}
}
+
+ static function album_menu($menu, $theme) {
+ $menu
+ ->append(Menu::factory("link")
+ ->id("slideshow")
+ ->label(t("View slideshow"))
+ ->url("javascript:PicLensLite.start(" .
+ "{maxScale:0,feedUrl:PicLensLite.indexFeeds()[0].url})")
+ ->css_id("gSlideshowLink"));
+ }
+
+ static function photo_menu($menu, $theme) {
+ $menu
+ ->append(Menu::factory("link")
+ ->id("slideshow")
+ ->label(t("View slideshow"))
+ ->url("javascript:PicLensLite.start(" .
+ "{maxScale:0,feedUrl:PicLensLite.indexFeeds()[0].url})")
+ ->css_id("gSlideshowLink"));
+ }
+
+ static function tag_menu($menu, $theme) {
+ $menu
+ ->append(Menu::factory("link")
+ ->id("slideshow")
+ ->label(t("View slideshow"))
+ ->url("javascript:PicLensLite.start(" .
+ "{maxScale:0,feedUrl:PicLensLite.indexFeeds()[0].url})")
+ ->css_id("gSlideshowLink"));
+ }
}