| 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( 'Color', 'formidable' ); ?></label> |
| 8 |
<input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'description_color' ) ); ?>" id="frm_description_color" class="hex" value="<?php echo esc_attr( $style->post_content['description_color'] ); ?>" <?php do_action( 'frm_style_settings_input_atts', 'description_color' ); ?> /> |
| 9 |
</p> |
| 10 |
<p class="frm4 frm_form_field"> |
| 11 |
<label><?php esc_html_e( 'Weight', 'formidable' ); ?></label> |
| 12 |
<select name="<?php echo esc_attr( $frm_style->get_field_name( 'description_weight' ) ); ?>" id="frm_description_weight"> |
| 13 |
<?php foreach ( FrmStyle::get_bold_options() as $value => $name ) { ?> |
| 14 |
<option value="<?php echo esc_attr( $value ); ?>" <?php selected( $style->post_content['description_weight'], $value ); ?>><?php echo esc_html( $name ); ?></option> |
| 15 |
<?php } ?> |
| 16 |
</select> |
| 17 |
</p> |
| 18 |
<p class="frm4 frm_form_field"> |
| 19 |
<label><?php esc_html_e( 'Style', 'formidable' ); ?></label> |
| 20 |
<select name="<?php echo esc_attr( $frm_style->get_field_name( 'description_style' ) ); ?>" id="frm_description_style"> |
| 21 |
<option value="normal" <?php selected( $style->post_content['description_style'], 'normal' ); ?>> |
| 22 |
<?php esc_html_e( 'normal', 'formidable' ); ?> |
| 23 |
</option> |
| 24 |
<option value="italic" <?php selected( $style->post_content['description_style'], 'italic' ); ?>> |
| 25 |
<?php esc_html_e( 'italic', 'formidable' ); ?> |
| 26 |
</option> |
| 27 |
</select> |
| 28 |
</p> |
| 29 |
|
| 30 |
<p class="frm4 frm_first frm_form_field"> |
| 31 |
<label><?php esc_html_e( 'Size', 'formidable' ); ?></label> |
| 32 |
<input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'description_font_size' ) ); ?>" id="frm_description_font_size" value="<?php echo esc_attr( $style->post_content['description_font_size'] ); ?>" size="3" /> |
| 33 |
</p> |
| 34 |
<p class="frm4 frm_form_field"> |
| 35 |
<label><?php esc_html_e( 'Align', 'formidable' ); ?></label> |
| 36 |
<select name="<?php echo esc_attr( $frm_style->get_field_name( 'description_align' ) ); ?>" id="frm_description_align"> |
| 37 |
<option value="left" <?php selected( $style->post_content['description_align'], 'left' ); ?>> |
| 38 |
<?php esc_html_e( 'left', 'formidable' ); ?> |
| 39 |
</option> |
| 40 |
<option value="right" <?php selected( $style->post_content['description_align'], 'right' ); ?>> |
| 41 |
<?php esc_html_e( 'right', 'formidable' ); ?> |
| 42 |
</option> |
| 43 |
</select> |
| 44 |
</p> |
| 45 |
<p class="frm4 frm_form_field"> |
| 46 |
<label><?php esc_html_e( 'Margin', 'formidable' ); ?></label> |
| 47 |
<input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'description_margin' ) ); ?>" id="frm_description_margin" value="<?php echo esc_attr( $style->post_content['description_margin'] ); ?>" size="3" /> |
| 48 |
</p> |
| 49 |
|