From 3449827c5ae3f28b0353d7babd354b92f403e5bf Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Sun, 7 Dec 2008 22:10:23 +0000 Subject: Change the menu processing to add the gDialogLink class if the url starts with a #. this results in a modal dialog box being opened. At this point the url is not retrieved and the text just shows up in the dialog box... need to look at that --- core/helpers/core_menu.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/helpers') diff --git a/core/helpers/core_menu.php b/core/helpers/core_menu.php index e43c7762..dc807a36 100644 --- a/core/helpers/core_menu.php +++ b/core/helpers/core_menu.php @@ -27,7 +27,7 @@ class core_menu_Core { if ($user) { $upload_menu = new Menu(_("UPLOAD")); $upload_menu->append( - new Menu(_("File Upload"), "#photo/form/file_upload/" . $theme->item()->id)); + new Menu(_("Add Item"), "#form/add/photos/" . $theme->item()->id)); $upload_menu->append( new Menu(_("Local Upload"), "#photo/form/local_upload/" . $theme->item()->id)); $menus->append($upload_menu); -- cgit v1.2.3