Changeset 27868 for trunk/src/wp-includes/media-template.php
- Timestamp:
- 03/31/2014 05:12:29 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/media-template.php
r27812 r27868 772 772 773 773 <script type="text/html" id="tmpl-image-editor"> 774 <div id="media-head-{{ { data.id }}}"></div>775 <div id="image-editor-{{ { data.id }}}"></div>774 <div id="media-head-{{ data.id }}"></div> 775 <div id="image-editor-{{ data.id }}"></div> 776 776 </script> 777 777 … … 796 796 <span>SRC</span> 797 797 <input type="text" disabled="disabled" data-setting="src" value="{{ data.model.src }}" /> 798 <a class="remove-setting"> {{{ wp.media.view.l10n.remove }}}</a>798 <a class="remove-setting"><?php _e( 'Remove' ); ?></a> 799 799 </label> 800 800 <# } #> … … 810 810 <span><?php echo strtoupper( $type ) ?></span> 811 811 <input type="text" disabled="disabled" data-setting="<?php echo $type ?>" value="{{ data.model.<?php echo $type ?> }}" /> 812 <a class="remove-setting"> {{{ wp.media.view.l10n.remove }}}</a>812 <a class="remove-setting"><?php _e( 'Remove' ); ?></a> 813 813 </label> 814 814 <# } #> … … 817 817 <# if ( ! _.isEmpty( html5types ) ) { #> 818 818 <div class="setting"> 819 <span> {{{ wp.media.view.l10n.mediaHTML5Text }}}</span>819 <span><?php _e( 'Add alternate sources for maximum HTML5 playback:' ) ?></span> 820 820 <div class="button-large"> 821 821 <# _.each( html5types, function (mime, type) { #> … … 887 887 <span>SRC</span> 888 888 <input type="text" disabled="disabled" data-setting="src" value="{{ data.model.src }}" /> 889 <a class="remove-setting"> {{{ wp.media.view.l10n.remove }}}</a>889 <a class="remove-setting"><?php _e( 'Remove' ); ?></a> 890 890 </label> 891 891 <# } #> … … 899 899 <span><?php echo strtoupper( $type ) ?></span> 900 900 <input type="text" disabled="disabled" data-setting="<?php echo $type ?>" value="{{ data.model.<?php echo $type ?> }}" /> 901 <a class="remove-setting"> {{{ wp.media.view.l10n.remove }}}</a>901 <a class="remove-setting"><?php _e( 'Remove' ); ?></a> 902 902 </label> 903 903 <# } #> … … 907 907 <# if ( ! _.isEmpty( html5types ) ) { #> 908 908 <div class="setting"> 909 <span> {{{ wp.media.view.l10n.mediaHTML5Text }}}</span>909 <span><?php _e( 'Add alternate sources for maximum HTML5 playback:' ); ?></span> 910 910 <div class="button-large"> 911 911 <# _.each( html5types, function (mime, type) { #> … … 920 920 <span><?php _e( 'Poster Image' ); ?></span> 921 921 <input type="text" disabled="disabled" data-setting="poster" value="{{ data.model.poster }}" /> 922 <a class="remove-setting"> {{{ wp.media.view.l10n.remove }}}</a>922 <a class="remove-setting"><?php _e( 'Remove' ); ?></a> 923 923 </label> 924 924 <# } #> … … 953 953 <p> 954 954 <input class="content-track" type="text" value="{{ track.outerHTML }}" /> 955 <a class="remove-setting remove-track"> {{{ wp.media.view.l10n.remove }}}</a>955 <a class="remove-setting remove-track"><?php _e( 'Remove' ); ?></a> 956 956 </p> 957 957 <# } ); #> … … 973 973 <div class="dashicons dashicons-edit edit"></div><div class="dashicons dashicons-no-alt remove"></div> 974 974 </div> 975 <div class="gallery gallery-columns-{{ { data.columns }}}">975 <div class="gallery gallery-columns-{{ data.columns }}"> 976 976 <# _.each( data.attachments, function( attachment, index ) { #> 977 977 <dl class="gallery-item"> 978 978 <dt class="gallery-icon"> 979 <img src="{{ { attachment.thumbnail.url }}}" width="{{ attachment.thumbnail.width }}" height="{{ attachment.thumbnail.height }}" />979 <img src="{{ attachment.thumbnail.url }}" width="{{ attachment.thumbnail.width }}" height="{{ attachment.thumbnail.height }}" /> 980 980 </dt> 981 981 <dd class="wp-caption-text gallery-caption"> … … 997 997 </div> 998 998 <# if ( ! _.isEmpty( data.model.caption ) ) { #> 999 <div class="track-details">{{ { data.model.caption }}}</div>999 <div class="track-details">{{ data.model.caption }}</div> 1000 1000 <# } #> 1001 1001 <?php wp_underscore_audio_template() ?> … … 1009 1009 </div> 1010 1010 <# if ( ! _.isEmpty( data.model.caption ) ) { #> 1011 <div class="track-details">{{ { data.model.caption }}}</div>1011 <div class="track-details">{{ data.model.caption }}</div> 1012 1012 <# } #> 1013 1013 <?php wp_underscore_video_template() ?>
Note: See TracChangeset
for help on using the changeset viewer.