| 1 |
<?php |
| 2 |
if ( ! defined( 'ABSPATH' ) ) { |
| 3 |
die( 'You are not allowed to call this page directly.' ); |
| 4 |
} |
| 5 |
?> |
| 6 |
<p class="frm4 frm_first frm_form_field"> |
| 7 |
<label><?php esc_html_e( 'Size', 'formidable' ); ?></label> |
| 8 |
<input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'field_font_size' ) ); ?>" id="frm_field_font_size" value="<?php echo esc_attr( $style->post_content['field_font_size'] ); ?>" /> |
| 9 |
</p> |
| 10 |
|
| 11 |
<p class="frm4 frm_form_field"> |
| 12 |
<label><?php esc_html_e( 'Height', 'formidable' ); ?></label> |
| 13 |
<input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'field_height' ) ); ?>" id="frm_field_height" value="<?php echo esc_attr( $style->post_content['field_height'] ); ?>" /> |
| 14 |
</p> |
| 15 |
|
| 16 |
<p class="frm4 frm_form_field"> |
| 17 |
<label><?php esc_html_e( 'Width', 'formidable' ); ?></label> |
| 18 |
<input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'field_width' ) ); ?>" id="frm_field_width" value="<?php echo esc_attr( $style->post_content['field_width'] ); ?>" /> |
| 19 |
</p> |
| 20 |
|
| 21 |
<p class="frm_clear frm_no_bottom_margin"> |
| 22 |
<label><input type="checkbox" name="<?php echo esc_attr( $frm_style->get_field_name( 'auto_width' ) ); ?>" id="frm_auto_width" value="1" <?php checked( $style->post_content['auto_width'], 1 ); ?> /> |
| 23 |
<?php esc_html_e( 'Automatic width for drop-down fields', 'formidable' ); ?></label> |
| 24 |
</p> |
| 25 |
|
| 26 |
<p class="frm4 frm_first frm_form_field"> |
| 27 |
<label><?php esc_html_e( 'Padding', 'formidable' ); ?></label> |
| 28 |
<input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'field_pad' ) ); ?>" id="frm_field_pad" value="<?php echo esc_attr( $style->post_content['field_pad'] ); ?>" /> |
| 29 |
</p> |
| 30 |
|
| 31 |
<p class="frm4 frm_form_field"> |
| 32 |
<label><?php esc_html_e( 'Bottom Margin', 'formidable' ); ?></label> |
| 33 |
<input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'field_margin' ) ); ?>" id="frm_field_margin" value="<?php echo esc_attr( $style->post_content['field_margin'] ); ?>" /> |
| 34 |
</p> |
| 35 |
|
| 36 |
<p class="frm4 frm_form_field"> |
| 37 |
<label><?php esc_html_e( 'Corners', 'formidable' ); ?> <span class="frm_help frm_icon_font frm_tooltip_icon" title="<?php esc_attr_e( 'Formidable uses CSS3 border-radius for corner rounding, which is not currently supported by Internet Explorer.', 'formidable' ); ?>" ></span></label> |
| 38 |
<input type="text" value="<?php echo esc_attr( $style->post_content['border_radius'] ); ?>" name="<?php echo esc_attr( $frm_style->get_field_name( 'border_radius' ) ); ?>" id="frm_border_radius" /> |
| 39 |
</p> |
| 40 |
|
| 41 |
<p class="frm4 frm_first frm_form_field"> |
| 42 |
<label><?php esc_html_e( 'Weight', 'formidable' ); ?></label> |
| 43 |
<select name="<?php echo esc_attr( $frm_style->get_field_name( 'field_weight' ) ); ?>" id="frm_field_weight"> |
| 44 |
<?php foreach ( FrmStyle::get_bold_options() as $value => $name ) { ?> |
| 45 |
<option value="<?php echo esc_attr( $value ); ?>" <?php selected( $style->post_content['field_weight'], $value ); ?>><?php echo esc_attr( $name ); ?></option> |
| 46 |
<?php } ?> |
| 47 |
</select> |
| 48 |
</p> |
| 49 |
|