diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2008-12-07 22:10:23 +0000 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2008-12-07 22:10:23 +0000 |
commit | 3449827c5ae3f28b0353d7babd354b92f403e5bf (patch) | |
tree | 2d5fbfe308f393c0a2d0f0cc3119815bc9753322 /core/helpers | |
parent | eaffc5e085141a639c15699739b63368eccca945 (diff) |
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
Diffstat (limited to 'core/helpers')
-rw-r--r-- | core/helpers/core_menu.php | 2 |
1 files changed, 1 insertions, 1 deletions
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); |