Changeset 27918 for trunk/src/wp-includes/media-template.php
- Timestamp:
- 04/03/2014 03:20:40 AM (12 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/media-template.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/media-template.php
r27899 r27918 690 690 <# if ( data.attachment ) { #> 691 691 <# if ( 'undefined' !== typeof data.attachment.sizes ) { #> 692 <label class="setting ">692 <label class="setting size"> 693 693 <span><?php _e('Size'); ?></span> 694 694 <select class="size" name="size" … … 710 710 var size = data.sizes['<?php echo esc_js( $value ); ?>']; 711 711 if ( size ) { #> 712 <option value="<?php echo esc_attr( $value ); ?>" <?php selected( $value, 'full' ); ?>>712 <option value="<?php echo esc_attr( $value ); ?>"> 713 713 <?php echo esc_html( $name ); ?> – {{ size.width }} × {{ size.height }} 714 714 </option> 715 715 <# } #> 716 716 <?php endforeach; ?> 717 <option value="<?php echo esc_attr( 'custom' ); ?>"> 718 <?php _e( 'Custom Size' ); ?> 719 </option> 717 720 </select> 718 721 </label> 719 722 <# } #> 723 <div class="custom-size<# if ( data.model.size !== 'custom' ) { #> hidden<# } #>"> 724 <label><span><?php _e( 'Width' ); ?> <small>(px)</small></span> <input data-setting="customWidth" type="number" step="1" value="{{ data.model.customWidth }}" /></label><span class="sep">×</span><label><span><?php _e( 'Height' ); ?> <small>(px)</small></span><input data-setting="customHeight" type="number" step="1" value="{{ data.model.customHeight }}" /></label> 725 </div> 720 726 <# } #> 721 727 … … 745 751 </div> 746 752 <div class="advanced"> 747 < a class="advanced-toggle" href="#"><?php _e('Show advanced options'); ?></a>753 <h3><a class="advanced-toggle" href="#"><?php _e('Advanced Options'); ?></a></h3> 748 754 <div class="hidden"> 749 755 <label class="setting title-text">
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)