From 9af8027cf30e346b8cf42ade14efee39a8221b0d Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Wed, 17 Jun 2009 21:42:31 +0800 Subject: Fix for ticket #366 Move the creation of the setting menu back to gallery_menu::admin, now that there is a mechanism to remove empty menu items Signed-off-by: --- modules/gallery/helpers/gallery_menu.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules/gallery/helpers') diff --git a/modules/gallery/helpers/gallery_menu.php b/modules/gallery/helpers/gallery_menu.php index fb0234b1..a25832fe 100644 --- a/modules/gallery/helpers/gallery_menu.php +++ b/modules/gallery/helpers/gallery_menu.php @@ -149,6 +149,9 @@ class gallery_menu_Core { ->id("theme_options") ->label(t("Theme Options")) ->url(url::site("admin/theme_options")))) + ->append(Menu::factory("submenu") + ->id("statistics_menu") + ->label(t("Statistics"))) ->append(Menu::factory("link") ->id("maintenance") ->label(t("Maintenance")) -- cgit v1.2.3