diff options
author | Cash Costello <cash.costello@gmail.com> | 2010-10-25 00:22:20 +0000 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2010-10-25 00:22:20 +0000 |
commit | 893364a28955358ad259bfb75798560616ab3d49 (patch) | |
tree | 8b2ac2fb618596fed82b12c221eb7c485cbb9590 /start.php | |
parent | da1493b95a2f0b5000a487ae373c9318c58d0b2d (diff) | |
download | elgg-893364a28955358ad259bfb75798560616ab3d49.tar.gz elgg-893364a28955358ad259bfb75798560616ab3d49.tar.bz2 |
supporting both basic and flash uploader
Diffstat (limited to 'start.php')
-rw-r--r-- | start.php | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -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]); |