From 625d0785572af319b22a523550145b4dacbd6100 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sun, 4 Jan 2009 07:40:37 +0000 Subject: Extend Theme_View to look in modules for photo and album menus. Move "view comments" link to the comment menu helper. --- core/helpers/core_menu.php | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'core/helpers') diff --git a/core/helpers/core_menu.php b/core/helpers/core_menu.php index 8a17d030..f9f6dbb0 100644 --- a/core/helpers/core_menu.php +++ b/core/helpers/core_menu.php @@ -79,7 +79,7 @@ class core_menu_Core { ->url("#") ->css_id("gHybridLink")); } - + public static function photo($menu, $theme) { $menu ->append(Menu::factory("link") @@ -87,18 +87,13 @@ class core_menu_Core { ->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