Changeset 22137 for trunk/wp-includes/media.php
- Timestamp:
- 10/08/2012 11:20:04 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/media.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/media.php
r22120 r22137 1331 1331 <script type="text/html" id="tmpl-attachment"> 1332 1332 <div class="attachment-preview type-<%- type %> subtype-<%- subtype %> <%- orientation %>"> 1333 <% if ( thumbnail ) { %> 1334 <img src="<%- thumbnail %>" draggable="false" /> 1333 <% if ( 'image' === type ) { %> 1334 <div class="thumbnail"> 1335 <img src="<%- url %>" width="<%- width %>" height="<%- height %>" draggable="false" 1336 style="top:<%- top %>px; left:<%- left %>px;" /> 1337 </div> 1338 <% } else { %> 1339 <img src="<%- icon %>" class="icon" draggable="false" /> 1335 1340 <% } %> 1336 1341 … … 1344 1349 1345 1350 <% if ( buttons.insert ) { %> 1346 <a class="insert button button- primary button-small" href="#"><?php _e( 'Insert' ); ?></a>1351 <a class="insert button button-small" href="#"><?php _e( 'Insert' ); ?></a> 1347 1352 <% } %> 1348 1353 </div>
Note: See TracChangeset
for help on using the changeset viewer.