From f7f2fa10cd7f12364e06d8e0276528c8dda26a0f Mon Sep 17 00:00:00 2001 From: Chad Kieffer Date: Sun, 4 Jan 2009 03:43:12 +0000 Subject: Started to wire up album and photo view menus. Need photo's parent album link added. Also need add the slideshow link to the menu. --- core/helpers/core_menu.php | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'core/helpers') diff --git a/core/helpers/core_menu.php b/core/helpers/core_menu.php index 3131c1e8..8a17d030 100644 --- a/core/helpers/core_menu.php +++ b/core/helpers/core_menu.php @@ -71,6 +71,34 @@ class core_menu_Core { } } + public static function album($menu, $theme) { + $menu + ->append(Menu::factory("link") + ->id("hybrid") + ->label(_("View album hybrid mode")) + ->url("#") + ->css_id("gHybridLink")); + } + + public static function photo($menu, $theme) { + $menu + ->append(Menu::factory("link") + ->id("fullsize") + ->label(_("View full size image")) + ->url("#") + ->css_id("gFullsizeLink")) + ->append(Menu::factory("link") + ->id("comments") + ->label(_("View comments on this item")) + ->url("#comments") + ->css_id("gCommentsLink")) + ->append(Menu::factory("link") + ->id("album") + ->label(_("View album hybrid mode")) + ->url("#") + ->css_id("gAlbumLink")); + } + public static function admin($menu, $theme) { $menu ->append(Menu::factory("link") -- cgit v1.2.3