From c67234974d578cacfd354b103e1f166e8ea2c426 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Thu, 18 Dec 2008 07:32:34 +0000 Subject: Refactor site admin menu into a theme function and build the menus in the various modules. In the process, rename xxx_menu::site_navigation() to just xxx_menu::site(). And add xxx_menu::admin(). The menus are the same as before, but I changed the HTML to be consistent with the way that we do it in the regular site, and this broke the superfish styles. I don't know how to fix this.. help me Chad! --- modules/comment/helpers/comment_menu.php | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 modules/comment/helpers/comment_menu.php (limited to 'modules/comment/helpers') diff --git a/modules/comment/helpers/comment_menu.php b/modules/comment/helpers/comment_menu.php new file mode 100644 index 00000000..b98140a6 --- /dev/null +++ b/modules/comment/helpers/comment_menu.php @@ -0,0 +1,28 @@ +get("content_menu") + ->append(Menu::factory("link") + ->id("comments") + ->label(_("Comment Moderation")) + ->url("#")); + } +} -- cgit v1.2.3