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! --- themes/admin_default/views/admin.html.php | 35 +++---------------------------- themes/default/views/header.html.php | 2 +- 2 files changed, 4 insertions(+), 33 deletions(-) (limited to 'themes') diff --git a/themes/admin_default/views/admin.html.php b/themes/admin_default/views/admin.html.php index 8b3cede3..c221612f 100644 --- a/themes/admin_default/views/admin.html.php +++ b/themes/admin_default/views/admin.html.php @@ -73,38 +73,9 @@ " id="gLogo" alt="Gallery 3: Your Photos on Your Web Site" /> - +
+ admin_menu() ?> +
diff --git a/themes/default/views/header.html.php b/themes/default/views/header.html.php index 89d105fb..d6b055e4 100644 --- a/themes/default/views/header.html.php +++ b/themes/default/views/header.html.php @@ -3,7 +3,7 @@ " src="url("images/logo.png") ?>" />
-site_navigation() ?> +site_menu() ?>
header_bottom() ?> -- cgit v1.2.3