diff options
Diffstat (limited to 'modules/comment/helpers')
-rw-r--r-- | modules/comment/helpers/comment_menu.php | 9 |
1 files changed, 9 insertions, 0 deletions
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")); + } } |