| 1 |
<?php |
| 2 |
if ( ! defined( 'ABSPATH' ) ) { |
| 3 |
die( 'You are not allowed to call this page directly.' ); |
| 4 |
} |
| 5 |
?> |
| 6 |
<p class="frm6 frm_first frm_form_field"> |
| 7 |
<label class="frm_help" title="<?php esc_attr_e( 'This will add !important to many of the lines in the Formidable styling to make sure it will be used.', 'formidable' ); ?>"> |
| 8 |
<input type="checkbox" name="<?php echo esc_attr( $frm_style->get_field_name( 'important_style' ) ); ?>" id="frm_important_style" value="1" <?php checked( $style->post_content['important_style'], 1 ); ?> /> |
| 9 |
<?php esc_html_e( 'Override theme styling', 'formidable' ); ?> |
| 10 |
</label> |
| 11 |
</p> |
| 12 |
|
| 13 |
<p class="frm6 frm_form_field"> |
| 14 |
<label class="frm_help" title="<?php esc_attr_e( 'This will center your form on the page where it is published if the form width is less than the available width on the page.', 'formidable' ); ?>"> |
| 15 |
<input type="checkbox" name="<?php echo esc_attr( $frm_style->get_field_name( 'center_form' ) ); ?>" id="frm_center_form" value="1" <?php checked( $style->post_content['center_form'], 1 ); ?> /> |
| 16 |
<?php esc_html_e( 'Center form on page', 'formidable' ); ?> |
| 17 |
</label> |
| 18 |
</p> |
| 19 |
|
| 20 |
<p class="frm4 frm_first frm_form_field"> |
| 21 |
<label><?php esc_html_e( 'Alignment', 'formidable' ); ?></label> |
| 22 |
<select name="<?php echo esc_attr( $frm_style->get_field_name( 'form_align' ) ); ?>" id="frm_form_align"> |
| 23 |
<option value="left" <?php selected( $style->post_content['form_align'], 'left' ); ?>> |
| 24 |
<?php esc_html_e( 'left', 'formidable' ); ?> |
| 25 |
</option> |
| 26 |
<option value="right" <?php selected( $style->post_content['form_align'], 'right' ); ?>> |
| 27 |
<?php esc_html_e( 'right', 'formidable' ); ?> |
| 28 |
</option> |
| 29 |
<option value="center" <?php selected( $style->post_content['form_align'], 'center' ); ?>> |
| 30 |
<?php esc_html_e( 'center', 'formidable' ); ?> |
| 31 |
</option> |
| 32 |
</select> |
| 33 |
</p> |
| 34 |
|
| 35 |
<p class="frm4 frm_form_field"> |
| 36 |
<label><?php esc_html_e( 'Max Width', 'formidable' ); ?></label> |
| 37 |
<input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'form_width' ) ); ?>" value="<?php echo esc_attr( $style->post_content['form_width'] ); ?>"/> |
| 38 |
</p> |
| 39 |
|
| 40 |
<p class="frm4 frm_form_field frm_end"> |
| 41 |
<label><?php esc_html_e( 'Background', 'formidable' ); ?></label> |
| 42 |
<input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'fieldset_bg_color' ) ); ?>" id="frm_fieldset_bg_color" class="hex" value="<?php echo esc_attr( $style->post_content['fieldset_bg_color'] ); ?>" size="4" /> |
| 43 |
</p> |
| 44 |
|
| 45 |
<p class="frm4 frm_first frm_form_field"> |
| 46 |
<label><?php esc_html_e( 'Border', 'formidable' ); ?></label> |
| 47 |
<input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'fieldset' ) ); ?>" id="frm_fieldset" value="<?php echo esc_attr( $style->post_content['fieldset'] ); ?>" size="4" /> |
| 48 |
</p> |
| 49 |
|
| 50 |
<p class="frm4 frm_form_field"> |
| 51 |
<label><?php esc_html_e( 'Color', 'formidable' ); ?></label> |
| 52 |
<input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'fieldset_color' ) ); ?>" id="frm_fieldset_color" class="hex" value="<?php echo esc_attr( $style->post_content['fieldset_color'] ); ?>" /> |
| 53 |
</p> |
| 54 |
|
| 55 |
<p class="frm4 frm_form_field"> |
| 56 |
<label><?php esc_html_e( 'Padding', 'formidable' ); ?></label> |
| 57 |
<input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'fieldset_padding' ) ); ?>" id="frm_fieldset_padding" value="<?php echo esc_attr( $style->post_content['fieldset_padding'] ); ?>" size="4" /> |
| 58 |
</p> |
| 59 |
|
| 60 |
<p> |
| 61 |
<label><?php esc_html_e( 'Font Family', 'formidable' ); ?></label> |
| 62 |
<input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'font' ) ); ?>" id="frm_font" value="<?php echo esc_attr( $style->post_content['font'] ); ?>" class="frm_full_width" /> |
| 63 |
</p> |
| 64 |
|
| 65 |
<p class="frm6 frm_first frm_form_field"> |
| 66 |
<label><?php esc_html_e( 'Direction', 'formidable' ); ?></label> |
| 67 |
<select name="<?php echo esc_attr( $frm_style->get_field_name( 'direction' ) ); ?>" id="frm_direction"> |
| 68 |
<option value="ltr" <?php selected( $style->post_content['direction'], 'ltr' ); ?>> |
| 69 |
<?php esc_html_e( 'Left to Right', 'formidable' ); ?> |
| 70 |
</option> |
| 71 |
<option value="rtl" <?php selected( $style->post_content['direction'], 'rtl' ); ?>> |
| 72 |
<?php esc_html_e( 'Right to Left', 'formidable' ); ?> |
| 73 |
</option> |
| 74 |
</select> |
| 75 |
</p> |
| 76 |
|