Changeset 20884 for trunk/wp-admin/custom-header.php
- Timestamp:
- 05/24/2012 09:03:38 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/custom-header.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/custom-header.php
r20839 r20884 580 580 <input type="file" id="upload" name="import" /> 581 581 <input type="hidden" name="action" value="save" /> 582 <?php wp_nonce_field( 'custom-header-upload', '_wpnonce-custom-header-upload' ) ?>582 <?php wp_nonce_field( 'custom-header-upload', '_wpnonce-custom-header-upload' ); ?> 583 583 <?php submit_button( __( 'Upload' ), 'button', 'submit', false ); ?> 584 584 </p> 585 </form>586 585 <?php 587 586 $image_library_url = get_upload_iframe_src( 'image', null, 'library' ); … … 589 588 $image_library_url = add_query_arg( array( 'context' => 'custom-header', 'TB_iframe' => 1 ), $image_library_url ); 590 589 ?> 591 <span class="howto"><?php _ex( 'or', 'Custom Header: Choose an image from your computer - or - Choose from image library' ); ?></span> <a id="choose-from-library-link" class="thickbox" href="<?php echo $image_library_url; ?>"><?php _e( 'Choose from image library' ); ?></a> 590 <p> 591 <label for="choose-from-library-link"><?php _e( 'Or choose an image from your media library:' ); ?></label><br /> 592 <a id="choose-from-library-link" class="button thickbox" href="<?php echo esc_url( $image_library_url ); ?>"><?php _e( 'Choose Image' ); ?></a> 593 </p> 594 </form> 592 595 </td> 593 596 </tr>
Note: See TracChangeset
for help on using the changeset viewer.