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/tag/helpers/tag_menu.php | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 modules/tag/helpers/tag_menu.php (limited to 'modules/tag/helpers') diff --git a/modules/tag/helpers/tag_menu.php b/modules/tag/helpers/tag_menu.php new file mode 100644 index 00000000..965e66c4 --- /dev/null +++ b/modules/tag/helpers/tag_menu.php @@ -0,0 +1,28 @@ +get("content_menu") + ->append(Menu::factory("link") + ->id("tags") + ->label(_("Tags")) + ->url("#")); + } +} -- cgit v1.2.3