aboutsummaryrefslogtreecommitdiff
path: root/start.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2010-10-25 00:22:20 +0000
committerCash Costello <cash.costello@gmail.com>2010-10-25 00:22:20 +0000
commit893364a28955358ad259bfb75798560616ab3d49 (patch)
tree8b2ac2fb618596fed82b12c221eb7c485cbb9590 /start.php
parentda1493b95a2f0b5000a487ae373c9318c58d0b2d (diff)
downloadelgg-893364a28955358ad259bfb75798560616ab3d49.tar.gz
elgg-893364a28955358ad259bfb75798560616ab3d49.tar.bz2
supporting both basic and flash uploader
Diffstat (limited to 'start.php')
-rw-r--r--start.php12
1 files changed, 11 insertions, 1 deletions
diff --git a/start.php b/start.php
index 9b3dab08f..a50f23c57 100644
--- a/start.php
+++ b/start.php
@@ -263,7 +263,10 @@ function tidypics_page_handler($page) {
case "upload": //upload images to album
if (isset($page[1])) {
- set_input('container_guid', $page[1]);
+ set_input('album_guid', $page[1]);
+ }
+ if (isset($page[2])) {
+ set_input('uploader', 'basic');
}
include($CONFIG->pluginspath . "tidypics/pages/upload.php");
break;
@@ -275,6 +278,13 @@ function tidypics_page_handler($page) {
include($CONFIG->pluginspath . "tidypics/pages/edit.php");
break;
+ case "batch": //update titles and descriptions
+ if (isset($page[1])) {
+ set_input('batch', $page[1]);
+ }
+ include($CONFIG->pluginspath . "tidypics/pages/edit_multiple.php");
+ break;
+
case "friends": // albums of friends
if (isset($page[1])) {
set_input('username', $page[1]);