From 730cc7aabb7af99d4b58c3877f3f863b30078b28 Mon Sep 17 00:00:00 2001 From: Chad Kieffer Date: Tue, 19 May 2009 04:20:52 +0000 Subject: Rolled back r20813 to restore jump to comments, at least for now --- modules/comment/helpers/comment_menu.php | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'modules/comment/helpers') diff --git a/modules/comment/helpers/comment_menu.php b/modules/comment/helpers/comment_menu.php index 9a36eefa..01881921 100644 --- a/modules/comment/helpers/comment_menu.php +++ b/modules/comment/helpers/comment_menu.php @@ -25,4 +25,13 @@ class comment_menu_Core { ->label(t("Comments")) ->url(url::site("admin/comments"))); } + + static function photo($menu, $theme) { + $menu + ->append(Menu::factory("link") + ->id("comments") + ->label(t("View comments on this item")) + ->url("#comments") + ->css_id("gCommentsLink")); + } } -- cgit v1.2.3