diff options
author | Bharat Mediratta <bharat@menalto.com> | 2008-12-18 07:32:34 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2008-12-18 07:32:34 +0000 |
commit | c67234974d578cacfd354b103e1f166e8ea2c426 (patch) | |
tree | 208c16cc8a8d43e60e69b497cfe193d97f885974 /modules/watermark | |
parent | aed68bfa9f68bfbc5df09135bec371b98a579671 (diff) |
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!
Diffstat (limited to 'modules/watermark')
-rw-r--r-- | modules/watermark/helpers/watermark_menu.php | 2 |
1 files changed, 1 insertions, 1 deletions
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( |