| @@ 375-385 (lines=11) @@ | ||
| 372 | <th scope="row"><?php _e( 'Image Position' ); ?></th> |
|
| 373 | <td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Image Position' ); ?></span></legend> |
|
| 374 | <div class="background-position-control"> |
|
| 375 | <?php foreach ( $background_position_options as $group ) : ?> |
|
| 376 | <div class="button-group"> |
|
| 377 | <?php foreach ( $group as $value => $input ) : ?> |
|
| 378 | <label> |
|
| 379 | <input class="screen-reader-text" name="background-position" type="radio" value="<?php echo esc_attr( $value ); ?>"<?php checked( $value, $background_position ); ?>> |
|
| 380 | <span class="button display-options position"><span class="<?php echo esc_attr( $input['icon'] ); ?>" aria-hidden="true"></span></span> |
|
| 381 | <span class="screen-reader-text"><?php echo $input['label']; ?></span> |
|
| 382 | </label> |
|
| 383 | <?php endforeach; ?> |
|
| 384 | </div> |
|
| 385 | <?php endforeach; ?> |
|
| 386 | </div> |
|
| 387 | </fieldset></td> |
|
| 388 | </tr> |
|
| @@ 71-81 (lines=11) @@ | ||
| 68 | <fieldset> |
|
| 69 | <legend class="screen-reader-text"><span><?php _e( 'Image Position' ); ?></span></legend> |
|
| 70 | <div class="background-position-control"> |
|
| 71 | <?php foreach ( $options as $group ) : ?> |
|
| 72 | <div class="button-group"> |
|
| 73 | <?php foreach ( $group as $value => $input ) : ?> |
|
| 74 | <label> |
|
| 75 | <input class="screen-reader-text" name="background-position" type="radio" value="<?php echo esc_attr( $value ); ?>"> |
|
| 76 | <span class="button display-options position"><span class="<?php echo esc_attr( $input['icon'] ); ?>" aria-hidden="true"></span></span> |
|
| 77 | <span class="screen-reader-text"><?php echo $input['label']; ?></span> |
|
| 78 | </label> |
|
| 79 | <?php endforeach; ?> |
|
| 80 | </div> |
|
| 81 | <?php endforeach; ?> |
|
| 82 | </div> |
|
| 83 | </fieldset> |
|
| 84 | </div> |
|