From bd992a97b217fe2c33bd7cb6df0f61adc7d64ebc Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Thu, 11 Dec 2008 21:27:16 +0000 Subject: Remove the options menus from the albums and photo pages and move to the site menu --- core/helpers/core_menu.php | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'core/helpers') diff --git a/core/helpers/core_menu.php b/core/helpers/core_menu.php index 3f0c5024..e4a3dd92 100644 --- a/core/helpers/core_menu.php +++ b/core/helpers/core_menu.php @@ -37,13 +37,18 @@ class core_menu_Core { // @todo need to do a permission check here $menu->append( Menu::factory("submenu") - ->id("upload_menu") - ->label(_("Upload")) + ->id("options_menu") + ->label(_("Options")) ->append( Menu::factory("dialog") - ->id("add_photos") - ->label(_("Add Photos")) - ->url(url::site("form/add/photos/$item->id")))); + ->id("add_item") + ->label(_("Add an item")) + ->url(url::site("form/add/photos/$item->id"))) + ->append( + Menu::factory("dialog") + ->id("add_album") + ->label(_("Add album")) + ->url(url::site("form/add/albums/$item->id")))); $admin_menu = Menu::factory("submenu") ->id("admin_menu") -- cgit v1.2.3