| 1 |
<?php |
| 2 |
$size = $value['value']; |
| 3 |
$width = isset( $size['width'] ) ? $size['width'] : $value['default'][0]; |
| 4 |
$height = isset( $size['height'] ) ? $size['height'] : $value['default'][1]; |
| 5 |
$crop = isset( $size['crop'] ) ? $size['crop'] : $value['default'][2]; |
| 6 |
?> |
| 7 |
<tr valign="top"> |
| 8 |
<th scope="row" class="titledesc"> |
| 9 |
<label><?php echo esc_html( $value['title'] ); ?> <?php echo $tooltip_html; ?></label> |
| 10 |
</th> |
| 11 |
<td class="forminp image_width_settings"> |
| 12 |
<input name="<?php echo esc_attr( $value['id'] ); ?>[width]" id="<?php echo esc_attr( $value['id'] ); ?>-width" type="text" size="3" value="<?php echo esc_attr( $width ); ?>" /> × <input name="<?php echo esc_attr( $value['id'] ); ?>[height]" id="<?php echo esc_attr( $value['id'] ); ?>-height" type="text" size="3" value="<?php echo esc_attr( $height ); ?>" />px |
| 13 |
</td> |
| 14 |
</tr> |
| 15 |
|