Changeset 22324 for trunk/wp-includes/media.php
- Timestamp:
- 10/29/2012 06:05:03 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/media.php
r22323 r22324 1328 1328 <% } else if ( 'image' === type ) { %> 1329 1329 <div class="thumbnail"> 1330 <img src="<%- url %>" width="<%- width %>" height="<%- height %>" draggable="false" 1331 style="top:<%- top %>px; left:<%- left %>px;" /> 1330 <img src="<%- url %>" draggable="false" /> 1332 1331 </div> 1333 1332 <% } else { %> … … 1462 1461 </div> 1463 1462 </script> 1463 1464 <script type="text/html" id="tmpl-attachments-css"> 1465 <style type="text/css" id="<%- id %>-css"> 1466 #<%- id %> { 1467 padding: <%- gutter %>px; 1468 } 1469 1470 #<%- id %> .attachment { 1471 margin: <%- gutter %>px; 1472 width: <%- edge %>px; 1473 } 1474 1475 #<%- id %> .attachment-preview, 1476 #<%- id %> .attachment-preview .thumbnail { 1477 width: <%- edge %>px; 1478 height: <%- edge %>px; 1479 } 1480 1481 #<%- id %> .portrait .thumbnail img { 1482 width: <%- edge %>px; 1483 height: auto; 1484 } 1485 1486 #<%- id %> .landscape .thumbnail img { 1487 width: auto; 1488 height: <%- edge %>px; 1489 } 1490 </style> 1491 </script> 1464 1492 <?php 1465 1493 }
Note: See TracChangeset
for help on using the changeset viewer.