summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-07-15 12:37:44 -0700
committerBharat Mediratta <bharat@menalto.com>2010-07-15 12:37:44 -0700
commitfe2881a22aabd0ab5cb971809db6f325c3ce22d3 (patch)
treeb92bd2e2417b4da7a104ef62d92e1f83b41c1b9e /modules/gallery/helpers
parent8065ab023df7a1bfb1534bbcdba8586b411a577d (diff)
Rename Flash_Uploader to just Uploader. Modules that want to replace
this will just replace the controller. This makes overriding that much easier in the future.
Diffstat (limited to 'modules/gallery/helpers')
-rw-r--r--modules/gallery/helpers/gallery_event.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gallery/helpers/gallery_event.php b/modules/gallery/helpers/gallery_event.php
index 76bd9ee7..f90f8843 100644
--- a/modules/gallery/helpers/gallery_event.php
+++ b/modules/gallery/helpers/gallery_event.php
@@ -237,7 +237,7 @@ class gallery_event_Core {
$add_menu->append(Menu::factory("dialog")
->id("add_photos_item")
->label(t("Add photos"))
- ->url(url::site("flash_uploader/app/$item->id")));
+ ->url(url::site("uploader/index/$item->id")));
if ($item->is_album()) {
$add_menu->append(Menu::factory("dialog")
->id("add_album_item")
@@ -508,7 +508,7 @@ class gallery_event_Core {
->id("add_item")
->label(t("Add a photo"))
->css_class("ui-icon-plus")
- ->url(url::site("flash_uploader/app/$item->id")))
+ ->url(url::site("uploader/index/$item->id")))
->append(Menu::factory("dialog")
->id("add_album")
->label(t("Add an album"))