summaryrefslogtreecommitdiff
path: root/core/helpers
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-02-14 23:03:09 +0000
committerBharat Mediratta <bharat@menalto.com>2009-02-14 23:03:09 +0000
commit9e08285c003de4fcb2dad9bd6917c326961ed524 (patch)
treeb21fbf99ba081f44a4f1888765d1e7707c4602df /core/helpers
parentb7e75a191cfc4de4ceb56f7fc6d44938e347e352 (diff)
Say hello to the new Flash based uploader, courtesy of Eric Zelermyer.
This requires a little trickery to proxy the session id and user agent through the ActionScript code so that we can assume the same session in the uploader. It's also using its own path to add photos since we'll want to have a slightly different protocol for dealing with responses (as opposed to JSON or HTML). A work in progress for sure, but it's already better than what we had before.?\024
Diffstat (limited to 'core/helpers')
-rw-r--r--core/helpers/core_menu.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/helpers/core_menu.php b/core/helpers/core_menu.php
index c1472001..2ec8e073 100644
--- a/core/helpers/core_menu.php
+++ b/core/helpers/core_menu.php
@@ -43,7 +43,7 @@ class core_menu_Core {
->id("edit_item")
->label($item->is_album() ? t("Edit album") : t("Edit photo"))
->url(url::site("form/edit/{$item->type}s/$item->id")));
-
+
// @todo Move album options menu to the album quick edit pane
// @todo Create resized item quick edit pane menu
if ($item->is_album()) {
@@ -51,7 +51,7 @@ class core_menu_Core {
->append(Menu::factory("dialog")
->id("add_item")
->label(t("Add a photo"))
- ->url(url::site("form/add/albums/$item->id?type=photo")))
+ ->url(url::site("simple_uploader/app/$item->id")))
->append(Menu::factory("dialog")
->id("add_album")
->label(t("Add an album"))