Changeset 24226 for trunk/wp-admin/includes/post-formats.php
- Timestamp:
- 05/09/2013 10:45:14 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/post-formats.php
r24184 r24226 39 39 </div> 40 40 <?php endif ?> 41 <label for="wp_format_image"><?php42 if ( current_user_can( 'unfiltered_html' ) )43 _e( 'Image HTML or URL' );44 else45 _e( 'Image URL' );46 ?></label>47 <textarea id="wp_format_image" type="text" name="_format_image" class="widefat"><?php esc_html_e( $format_meta['image'] ); ?></textarea>48 41 <div data-format="image" class="wp-format-media-holder hide-if-no-js"> 42 <div><h3><?php _e( 'Drop image file to upload' ); ?></h3></div> 49 43 <a href="#" class="wp-format-media-select" 50 44 data-choose="<?php esc_attr_e( 'Choose an Image' ); ?>" … … 53 47 </a> 54 48 </div> 49 <div class="wp-format-image-textarea hide-if-js"> 50 <label for="wp_format_image"><?php 51 if ( current_user_can( 'unfiltered_html' ) ) 52 _e( 'Image HTML or URL' ); 53 else 54 _e( 'Image URL' ); 55 ?></label> 56 <textarea id="wp_format_image" type="text" name="_format_image" class="widefat"><?php esc_html_e( $format_meta['image'] ); ?></textarea> 57 </div> 58 <p class="use-url-or-html hide-if-no-js"><span><?php printf( __( '(or %suse an image URL or HTML%s)' ), '<a href="#">', '</a>' ); ?></span> 59 <span style="display: none"><?php printf( __( '(or %sselect/upload an image%s)' ), '<a href="#">', '</a>' ); ?></span></p> 55 60 </div> 56 61
Note: See TracChangeset
for help on using the changeset viewer.