| @@ -1,23 +1,23 @@ | ||
| 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> | |
| 10 | - <?php echo esc_html( $value['title'] ); ?> | |
| 11 | - <?php echo wp_kses_post( $tooltip_html ); ?> | |
| 12 | - </label> | |
| 13 | -</th> | |
| 14 | - <td class="forminp image_width_settings"> | |
| 15 | - <input name="<?php echo esc_attr( $value['id'] ); ?>[width]" | |
| 16 | - id="<?php echo esc_attr( $value['id'] ); ?>-width" type="text" | |
| 17 | - size="5" value="<?php echo esc_attr( $width ); ?>" />× | |
| 18 | - <input name="<?php echo esc_attr( $value['id'] ); ?>[height]" | |
| 19 | - id="<?php echo esc_attr( $value['id'] ); ?>-height" | |
| 20 | - type="text" size="5" | |
| 21 | - value="<?php echo esc_attr( $height ); ?>" />px | |
| 22 | - </td> | |
| 23 | -</tr> | |
| 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> | |
| 10 | + <?php echo esc_html( $value['title'] ); ?> | |
| 11 | + <?php echo wp_kses_post( $tooltip_html ); ?> | |
| 12 | + </label> | |
| 13 | +</th> | |
| 14 | + <td class="forminp image_width_settings"> | |
| 15 | + <input name="<?php echo esc_attr( $value['id'] ); ?>[width]" | |
| 16 | + id="<?php echo esc_attr( $value['id'] ); ?>-width" type="text" | |
| 17 | + size="5" value="<?php echo esc_attr( $width ); ?>" />× | |
| 18 | + <input name="<?php echo esc_attr( $value['id'] ); ?>[height]" | |
| 19 | + id="<?php echo esc_attr( $value['id'] ); ?>-height" | |
| 20 | + type="text" size="5" | |
| 21 | + value="<?php echo esc_attr( $height ); ?>" />px | |
| 22 | + </td> | |
| 23 | +</tr> | |