summaryrefslogtreecommitdiff
path: root/modules/gallery/views/form_uploadify_buttons.html.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-11-20 19:41:45 -0800
committerBharat Mediratta <bharat@menalto.com>2009-11-20 19:41:45 -0800
commit5e9bbbe490e40da103e0a7960312ab1c814dafa3 (patch)
tree641678d13204c4817edf5058a34b154becc5376f /modules/gallery/views/form_uploadify_buttons.html.php
parent144c2fb61ee30e1168a6afe3b0332485d748d608 (diff)
Convert the Simple Uploader form over to Forge, and use the event
model to let the Tags module modify it. This brings it inline with our other module-extensible form based interactions.
Diffstat (limited to 'modules/gallery/views/form_uploadify_buttons.html.php')
-rw-r--r--modules/gallery/views/form_uploadify_buttons.html.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/gallery/views/form_uploadify_buttons.html.php b/modules/gallery/views/form_uploadify_buttons.html.php
new file mode 100644
index 00000000..d88bb6aa
--- /dev/null
+++ b/modules/gallery/views/form_uploadify_buttons.html.php
@@ -0,0 +1,8 @@
+<?php defined("SYSPATH") or die("No direct script access.") ?>
+<!-- Proxy the done request back to our form, since its been ajaxified -->
+<button id="g-upload-done" class="ui-state-default ui-corner-all" onclick="$('#g-add-photos-form').submit();return false;">
+ <?= t("Done") ?>
+</button>
+<button id="g-upload-cancel-all" class="ui-state-default ui-corner-all ui-state-disabled" onclick="$('#g-uploadify').uploadifyClearQueue();return false;" disabled="disabled">
+ <?= t("Cancel All") ?>
+</button>