Changeset 22466 for trunk/wp-includes/media.php
- Timestamp:
- 11/08/2012 02:15:09 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/media.php
r22437 r22466 1418 1418 1419 1419 <h4><?php _e('Alignment'); ?></h4> 1420 <div class="alignment button-group button-large" data-setting="align"> 1420 <div class="alignment button-group button-large" 1421 data-setting="align" 1422 <# if ( userSettings ) { #> 1423 data-user-setting="align" 1424 <# } #>> 1425 1421 1426 <button class="button" value="left"> 1422 1427 <?php esc_attr_e('Left'); ?> … … 1428 1433 <?php esc_attr_e('Right'); ?> 1429 1434 </button> 1430 <button class="button " value="none">1435 <button class="button active" value="none"> 1431 1436 <?php esc_attr_e('None'); ?> 1432 1437 </button> … … 1434 1439 1435 1440 <h4><?php _e('Link To'); ?></h4> 1436 <div class="link-to button-group button-large" data-setting="link"> 1437 <button class="button" value="post"> 1441 <div class="link-to button-group button-large" 1442 data-setting="link" 1443 <# if ( userSettings ) { #> 1444 data-user-setting="urlbutton" 1445 <# } #>> 1446 1447 <button class="button active" value="post"> 1438 1448 <?php esc_attr_e('Attachment Page'); ?> 1439 1449 </button> … … 1451 1461 1452 1462 <h4><?php _e('Link To'); ?></h4> 1453 <div class="link-to button-group" data-setting="link"> 1454 <button class="button" value="post"> 1463 <div class="link-to button-group" 1464 data-setting="link"> 1465 1466 <button class="button active" value="post"> 1455 1467 <?php esc_attr_e('Attachment Page'); ?> 1456 1468 </button> … … 1462 1474 <h4><?php _e('Gallery Columns'); ?></h4> 1463 1475 1464 <select class="columns" name="columns" data-setting="columns"> 1476 <select class="columns" name="columns" 1477 data-setting="columns"> 1465 1478 <?php for ( $i = 1; $i <= 9; $i++ ) : ?> 1466 <option value="<?php echo esc_attr( $i ); ?>" >1479 <option value="<?php echo esc_attr( $i ); ?>" <?php selected( $i, 3 ); ?>> 1467 1480 <?php echo esc_html( $i ); ?> 1468 1481 </option>
Note: See TracChangeset
for help on using the changeset viewer.