diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-01-04 07:40:37 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-01-04 07:40:37 +0000 |
commit | 625d0785572af319b22a523550145b4dacbd6100 (patch) | |
tree | 6c833de5c9129e0728c170887bc1e66830b25262 /core/helpers | |
parent | 9ff452d82a0cdfa88cac320f317cbc72140019e9 (diff) |
Extend Theme_View to look in modules for photo and album menus. Move
"view comments" link to the comment menu helper.
Diffstat (limited to 'core/helpers')
-rw-r--r-- | core/helpers/core_menu.php | 9 |
1 files changed, 2 insertions, 7 deletions
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") @@ -88,17 +88,12 @@ class core_menu_Core { ->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") |