summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorChad Kieffer <chad@2tbsp.com>2009-05-19 04:20:52 +0000
committerChad Kieffer <chad@2tbsp.com>2009-05-19 04:20:52 +0000
commit730cc7aabb7af99d4b58c3877f3f863b30078b28 (patch)
treead8f16eaed02939d5bd9b3a3d92a6f0273df3081 /modules
parent8855be0c33e1fb49654ea6ef1a77c1460ecac955 (diff)
Rolled back r20813 to restore jump to comments, at least for now
Diffstat (limited to 'modules')
-rw-r--r--modules/comment/helpers/comment_menu.php9
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"));
+ }
}