diff options
author | Bharat Mediratta <bharat@menalto.com> | 2010-08-30 22:19:57 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2010-08-30 22:19:57 -0700 |
commit | 953d63555c0ddc387eed08af7f23e4180c13ecc6 (patch) | |
tree | 3612db7ef14c1485c05dc675f01a0b8cde291e8e /modules/gallery/views/form_uploadify_buttons.html.php | |
parent | d5ebcb91ad8401df8a393f84ade82150467dbf33 (diff) |
Detect Flash and put up a reasonable message if your browser doesn't
have Flash installed. Fixes ticket #1268.
Diffstat (limited to 'modules/gallery/views/form_uploadify_buttons.html.php')
-rw-r--r-- | modules/gallery/views/form_uploadify_buttons.html.php | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/modules/gallery/views/form_uploadify_buttons.html.php b/modules/gallery/views/form_uploadify_buttons.html.php index 98729bd7..ce4d989c 100644 --- a/modules/gallery/views/form_uploadify_buttons.html.php +++ b/modules/gallery/views/form_uploadify_buttons.html.php @@ -1,8 +1,10 @@ <?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;"> +<div class="requires-flash"> + <!-- 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"> + </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 uploads") ?> -</button> + </button> +</div> |