Ticket #13383: media_upload_for_nojs.patch
File media_upload_for_nojs.patch, 1.4 KB (added by , 14 years ago) |
---|
-
wp-admin/includes/media.php
1489 1489 //]]> 1490 1490 </script> 1491 1491 1492 <div id="flash-upload-ui" >1492 <div id="flash-upload-ui" class="hide-if-no-js"> 1493 1493 <?php do_action('pre-flash-upload-ui'); ?> 1494 1494 1495 1495 <div> … … 2231 2231 * @since unknown 2232 2232 */ 2233 2233 function media_upload_html_bypass($flash = true) { 2234 echo '<p class="upload-html-bypass ">';2234 echo '<p class="upload-html-bypass hide-if-no-js">'; 2235 2235 _e('You are using the Browser uploader.'); 2236 2236 if ( $flash ) { 2237 2237 // the user manually selected the browser uploader, so let them switch back to Flash -
wp-admin/media-upload.php
78 78 </script> 79 79 <input type="hidden" name="post_id" id="post_id" value="0" /> 80 80 <?php wp_nonce_field('media-form'); ?> 81 <div id="media-items" > </div>81 <div id="media-items" class="hide-if-no-js"> </div> 82 82 <p> 83 <input type="submit" class="button savebutton " name="save" value="<?php esc_attr_e( 'Save all changes' ); ?>" />83 <input type="submit" class="button savebutton hide-if-no-js" name="save" value="<?php esc_attr_e( 'Save all changes' ); ?>" /> 84 84 </p> 85 85 </form> 86 86 </div>