From 893364a28955358ad259bfb75798560616ab3d49 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Mon, 25 Oct 2010 00:22:20 +0000 Subject: supporting both basic and flash uploader --- views/default/tidypics/forms/ajax_upload.php | 36 +++++++++++++++++++++------- 1 file changed, 27 insertions(+), 9 deletions(-) (limited to 'views/default/tidypics/forms/ajax_upload.php') diff --git a/views/default/tidypics/forms/ajax_upload.php b/views/default/tidypics/forms/ajax_upload.php index b71068a13..25c658570 100644 --- a/views/default/tidypics/forms/ajax_upload.php +++ b/views/default/tidypics/forms/ajax_upload.php @@ -2,13 +2,14 @@ extend_view('metatags', 'tidypics/js/uploader'); -$container_guid = get_input('container_guid'); -$album = get_entity($vars['album']); +$album = $vars['album']; $access_id = $album->access_id; $ts = time(); $token = generate_action_token($ts); +$batch = time(); + $maxfilesize = (float) get_plugin_setting('maxfilesize','tidypics'); if (!$maxfilesize) { @@ -36,29 +37,46 @@ if ($quota) {
-

Instructions here for uploading images using Ajax/Flash

- -Upload Files | -Clear Queue +

Instructions here for uploading images using Ajax/Flash

+ +
+ Choose images +
+ +
+
+ +Upload Files + +
+Add titles and descriptions +
+Basic uploader +
-- cgit v1.2.3