summaryrefslogtreecommitdiff
path: root/modules/comment/helpers
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-05-16 22:53:19 -0700
committerBharat Mediratta <bharat@menalto.com>2010-05-16 22:53:19 -0700
commit2157285d9bc3373e9bd2f4d86f558a1b2554f412 (patch)
tree67cb404e5b1b6b9b36d66cc9cb55d1261cd01c65 /modules/comment/helpers
parentc682ba86bdc6b7661e35e3913be73b4cba5c0896 (diff)
Rename admin/comments to admin/manage_comments to make room for
admin/comments to be a settings page.
Diffstat (limited to 'modules/comment/helpers')
-rw-r--r--modules/comment/helpers/comment_event.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/modules/comment/helpers/comment_event.php b/modules/comment/helpers/comment_event.php
index 51e663e6..25fd4171 100644
--- a/modules/comment/helpers/comment_event.php
+++ b/modules/comment/helpers/comment_event.php
@@ -51,11 +51,19 @@ class comment_event_Core {
}
static function admin_menu($menu, $theme) {
+ /*
+ $menu->get("settings_menu")
+ ->append(Menu::factory("link")
+ ->id("comment")
+ ->label(t("Comments"))
+ ->url(url::site("admin/comments")));
+ */
+
$menu->get("content_menu")
->append(Menu::factory("link")
->id("comments")
->label(t("Comments"))
- ->url(url::site("admin/comments")));
+ ->url(url::site("admin/manage_comments")));
}
static function photo_menu($menu, $theme) {