Changeset 35427 for trunk/src/wp-includes/media-template.php
- Timestamp:
- 10/28/2015 11:07:08 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/media-template.php
r35341 r35427 172 172 <script type="text/html" id="tmpl-uploader-window"> 173 173 <div class="uploader-window-content"> 174 <h 3><?php _e( 'Drop files to upload' ); ?></h3>174 <h1><?php _e( 'Drop files to upload' ); ?></h1> 175 175 </div> 176 176 </script> … … 189 189 <div class="uploader-inline-content {{ messageClass }}"> 190 190 <# if ( data.message ) { #> 191 <h 3 class="upload-message">{{ data.message }}</h3>191 <h2 class="upload-message">{{ data.message }}</h2> 192 192 <# } #> 193 <?php if ( ! _device_can_upload() ) : ?> 194 <h 3 class="upload-instructions"><?php printf( __('The web browser on your device cannot be used to upload files. You may be able to use the <a href="%s">native app for your device</a> instead.'), 'https://apps.wordpress.org/' ); ?></h3>195 <?php elseif ( is_multisite() && ! is_upload_space_available() ) : ?>196 <h 3 class="upload-instructions"><?php _e( 'Upload Limit Exceeded' ); ?></h3>193 194 <h2 class="upload-instructions"><?php printf( __( 'The web browser on your device cannot be used to upload files. You may be able to use the <a href="%s">native app for your device</a> instead.' ), 'https://apps.wordpress.org/' ); ?></h2> 195 <?php if ( is_multisite() && ! is_upload_space_available() ) : ?> 196 <h2 class="upload-instructions"><?php _e( 'Upload Limit Exceeded' ); ?></h2> 197 197 <?php 198 198 /** This action is documented in wp-admin/includes/media.php */ … … 201 201 <?php else : ?> 202 202 <div class="upload-ui"> 203 <h 3 class="upload-instructions drop-instructions"><?php _e( 'Drop files anywhere to upload' ); ?></h3>203 <h2 class="upload-instructions drop-instructions"><?php _e( 'Drop files anywhere to upload' ); ?></h2> 204 204 <p class="upload-instructions drop-instructions"><?php _ex( 'or', 'Uploader: Drop files here - or - Select Files' ); ?></p> 205 205 <button type="button" class="browser button button-hero"><?php _e( 'Select Files' ); ?></button> … … 258 258 259 259 <script type="text/html" id="tmpl-uploader-status"> 260 <h 3><?php _e( 'Uploading' ); ?></h3>260 <h2><?php _e( 'Uploading' ); ?></h2> 261 261 <button type="button" class="button-link upload-dismiss-errors"><span class="screen-reader-text"><?php _e( 'Dismiss Errors' ); ?></span></button> 262 262 … … 491 491 492 492 <script type="text/html" id="tmpl-attachment-details"> 493 <h3> 494 <?php _e('Attachment Details'); ?> 495 493 <h2> 494 <?php _e( 'Attachment Details' ); ?> 496 495 <span class="settings-save-status"> 497 496 <span class="spinner"></span> 498 497 <span class="saved"><?php esc_html_e('Saved.'); ?></span> 499 498 </span> 500 </h 3>499 </h2> 501 500 <div class="attachment-info"> 502 501 <div class="thumbnail thumbnail-{{ data.type }}"> … … 600 599 601 600 <script type="text/html" id="tmpl-attachment-display-settings"> 602 <h 3><?php _e('Attachment Display Settings'); ?></h3>601 <h2><?php _e( 'Attachment Display Settings' ); ?></h2> 603 602 604 603 <# if ( 'image' === data.type ) { #> … … 707 706 708 707 <script type="text/html" id="tmpl-gallery-settings"> 709 <h 3><?php _e('Gallery Settings'); ?></h3>708 <h2><?php _e( 'Gallery Settings' ); ?></h2> 710 709 711 710 <label class="setting"> … … 777 776 778 777 <script type="text/html" id="tmpl-playlist-settings"> 779 <h 3><?php _e( 'Playlist Settings' ); ?></h3>778 <h2><?php _e( 'Playlist Settings' ); ?></h2> 780 779 781 780 <# var emptyModel = _.isEmpty( data.model ), … … 904 903 </label> 905 904 906 <h 3><?php _e( 'Display Settings' ); ?></h3>905 <h2><?php _e( 'Display Settings' ); ?></h2> 907 906 <div class="setting align"> 908 907 <span><?php _e('Align'); ?></span> … … 986 985 </div> 987 986 <div class="advanced-section"> 988 <h 3><button type="button" class="button-link advanced-toggle"><?php _e( 'Advanced Options' ); ?></button></h3>987 <h2><button type="button" class="button-link advanced-toggle"><?php _e( 'Advanced Options' ); ?></button></h2> 989 988 <div class="advanced-settings hidden"> 990 989 <div class="advanced-image">
Note: See TracChangeset
for help on using the changeset viewer.