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/watermark/helpers/watermark_menu.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/watermark/helpers') diff --git a/modules/watermark/helpers/watermark_menu.php b/modules/watermark/helpers/watermark_menu.php index 71927da3..9d85319d 100644 --- a/modules/watermark/helpers/watermark_menu.php +++ b/modules/watermark/helpers/watermark_menu.php @@ -20,7 +20,7 @@ class watermark_menu_Core { // @todo this needs to get on the admin page at some point - public static function site_navigation($menu, $theme) { + public static function site($menu, $theme) { $user = user::active(); if ($user->admin) { $menu->get("admin_menu")->append( -- cgit v1.2.3