Changeset 21014 for trunk/wp-includes/class-wp-customize-control.php
- Timestamp:
- 06/06/2012 09:45:17 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-wp-customize-control.php
r20936 r21014 332 332 333 333 ?> 334 < labelclass="customize-image-picker">334 <div class="customize-image-picker"> 335 335 <span class="customize-control-title"><?php echo esc_html( $this->label ); ?></span> 336 336 … … 367 367 <a href="#" class="remove"><?php _e( 'Remove Image' ); ?></a> 368 368 </div> 369 </ label>369 </div> 370 370 <?php 371 371 } … … 383 383 384 384 public function tab_upload_new() { 385 ?> 386 <div class="upload-dropzone"> 387 <?php _e('Drop a file here or <a href="#" class="upload">select a file</a>.'); ?> 388 </div> 389 <div class="upload-fallback"> 390 <span class="button-secondary"><?php _e('Select File'); ?></span> 391 </div> 392 <?php 385 if ( ! _device_can_upload() ) { 386 ?> 387 <p><?php _e('The web browser on your device cannot be used to upload files. You may be able to use the <a href="http://wordpress.org/extend/mobile/">native app for your device</a> instead.'); ?></p> 388 <?php 389 } else { 390 ?> 391 <div class="upload-dropzone"> 392 <?php _e('Drop a file here or <a href="#" class="upload">select a file</a>.'); ?> 393 </div> 394 <div class="upload-fallback"> 395 <span class="button-secondary"><?php _e('Select File'); ?></span> 396 </div> 397 <?php 398 } 393 399 } 394 400
Note: See TracChangeset
for help on using the changeset viewer.