wip
This commit is contained in:
@@ -56,14 +56,10 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
|
||||
<p><?php _e( 'The sizes listed below determine the maximum dimensions in pixels to use when adding an image to the Media Library.' ); ?></p>
|
||||
|
||||
<table class="form-table" role="presentation">
|
||||
<?php $thumbnail_size_title = __( 'Thumbnail size' ); ?>
|
||||
<tr>
|
||||
<th scope="row"><?php _e( 'Thumbnail size' ); ?></th>
|
||||
<td><fieldset><legend class="screen-reader-text"><span>
|
||||
<?php
|
||||
/* translators: Hidden accessibility text. */
|
||||
_e( 'Thumbnail size' );
|
||||
?>
|
||||
</span></legend>
|
||||
<th scope="row"><?php echo $thumbnail_size_title; ?></th>
|
||||
<td><fieldset><legend class="screen-reader-text"><span><?php echo $thumbnail_size_title; ?></span></legend>
|
||||
<label for="thumbnail_size_w"><?php _e( 'Width' ); ?></label>
|
||||
<input name="thumbnail_size_w" type="number" step="1" min="0" id="thumbnail_size_w" value="<?php form_option( 'thumbnail_size_w' ); ?>" class="small-text" />
|
||||
<br />
|
||||
@@ -75,14 +71,10 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<?php $medium_size_title = __( 'Medium size' ); ?>
|
||||
<tr>
|
||||
<th scope="row"><?php _e( 'Medium size' ); ?></th>
|
||||
<td><fieldset><legend class="screen-reader-text"><span>
|
||||
<?php
|
||||
/* translators: Hidden accessibility text. */
|
||||
_e( 'Medium size' );
|
||||
?>
|
||||
</span></legend>
|
||||
<th scope="row"><?php echo $medium_size_title; ?></th>
|
||||
<td><fieldset><legend class="screen-reader-text"><span><?php echo $medium_size_title; ?></span></legend>
|
||||
<label for="medium_size_w"><?php _e( 'Max Width' ); ?></label>
|
||||
<input name="medium_size_w" type="number" step="1" min="0" id="medium_size_w" value="<?php form_option( 'medium_size_w' ); ?>" class="small-text" />
|
||||
<br />
|
||||
@@ -91,14 +83,10 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
|
||||
</fieldset></td>
|
||||
</tr>
|
||||
|
||||
<?php $large_size_title = __( 'Large size' ); ?>
|
||||
<tr>
|
||||
<th scope="row"><?php _e( 'Large size' ); ?></th>
|
||||
<td><fieldset><legend class="screen-reader-text"><span>
|
||||
<?php
|
||||
/* translators: Hidden accessibility text. */
|
||||
_e( 'Large size' );
|
||||
?>
|
||||
</span></legend>
|
||||
<th scope="row"><?php echo $large_size_title; ?></th>
|
||||
<td><fieldset><legend class="screen-reader-text"><span><?php echo $large_size_title; ?></span></legend>
|
||||
<label for="large_size_w"><?php _e( 'Max Width' ); ?></label>
|
||||
<input name="large_size_w" type="number" step="1" min="0" id="large_size_w" value="<?php form_option( 'large_size_w' ); ?>" class="small-text" />
|
||||
<br />
|
||||
|
||||
Reference in New Issue
Block a user