| 1 |
<?php |
| 2 |
if ( ! defined( 'ABSPATH' ) ) { |
| 3 |
die( 'You are not allowed to call this page directly.' ); |
| 4 |
} |
| 5 |
?> |
| 6 |
<div class="frm5 frm_form_field"> |
| 7 |
<label |
| 8 |
for="frm_check_label_color" |
| 9 |
class="frm-style-item-heading"><?php esc_html_e( 'Color', 'formidable' ); ?></label> |
| 10 |
</div> |
| 11 |
<div class="frm7 frm_form_field"> |
| 12 |
<?php |
| 13 |
new FrmColorpickerStyleComponent( |
| 14 |
$frm_style->get_field_name( 'check_label_color' ), |
| 15 |
$style->post_content['check_label_color'], |
| 16 |
array( |
| 17 |
'id' => 'frm_check_label_color', |
| 18 |
'action_slug' => 'check_label_color', |
| 19 |
) |
| 20 |
); |
| 21 |
?> |
| 22 |
</div> |
| 23 |
|
| 24 |
<div class="frm5 frm_form_field"> |
| 25 |
<label |
| 26 |
for="frm_check_font_size" |
| 27 |
class="frm-style-item-heading"><?php esc_html_e( 'Font Size', 'formidable' ); ?></label> |
| 28 |
</div> |
| 29 |
<div class="frm7 frm_form_field"> |
| 30 |
<?php |
| 31 |
new FrmSliderStyleComponent( |
| 32 |
$frm_style->get_field_name( 'check_font_size' ), |
| 33 |
$style->post_content['check_font_size'], |
| 34 |
array( |
| 35 |
'id' => 'frm_check_font_size', |
| 36 |
'max_value' => 100, |
| 37 |
) |
| 38 |
); |
| 39 |
?> |
| 40 |
</div> |
| 41 |
|
| 42 |
<div class="frm5 frm_form_field"> |
| 43 |
<label |
| 44 |
for="frm_check_weight" |
| 45 |
class="frm-style-item-heading"><?php esc_html_e( 'Weight', 'formidable' ); ?></label> |
| 46 |
</div> |
| 47 |
<div class="frm7 frm_form_field"> |
| 48 |
<?php |
| 49 |
new FrmDropdownStyleComponent( |
| 50 |
$frm_style->get_field_name( 'check_weight' ), |
| 51 |
$style->post_content['check_weight'], |
| 52 |
array( |
| 53 |
'id' => 'frm_check_weight', |
| 54 |
'options' => FrmStyle::get_bold_options(), |
| 55 |
) |
| 56 |
); |
| 57 |
?> |
| 58 |
</div> |
| 59 |
|
| 60 |
<div class="frm5 frm_form_field"> |
| 61 |
<label |
| 62 |
for="frm_check_align" |
| 63 |
class="frm-style-item-heading"><?php esc_html_e( 'Check Box', 'formidable' ); ?></label> |
| 64 |
</div> |
| 65 |
<div class="frm7 frm_form_field"> |
| 66 |
<?php |
| 67 |
$align_options = array( |
| 68 |
'block' => __( 'One Column', 'formidable' ), |
| 69 |
'inline' => __( 'Inline Options', 'formidable' ), |
| 70 |
); |
| 71 |
|
| 72 |
/** |
| 73 |
* @since 6.32 |
| 74 |
* |
| 75 |
* @param array $align_options |
| 76 |
* @param array $atts |
| 77 |
*/ |
| 78 |
$checkbox_align_options = apply_filters( 'frm_checkbox_align_options', $align_options, $atts ); |
| 79 |
|
| 80 |
new FrmDropdownStyleComponent( |
| 81 |
$frm_style->get_field_name( 'check_align' ), |
| 82 |
$style->post_content['check_align'], |
| 83 |
array( |
| 84 |
'id' => 'frm_check_align', |
| 85 |
'options' => $checkbox_align_options, |
| 86 |
) |
| 87 |
); |
| 88 |
?> |
| 89 |
</div> |
| 90 |
|
| 91 |
<div class="frm5 frm_form_field"> |
| 92 |
<label |
| 93 |
for="frm_radio_align" |
| 94 |
class="frm-style-item-heading"><?php esc_html_e( 'Radio', 'formidable' ); ?></label> |
| 95 |
</div> |
| 96 |
<div class="frm7 frm_form_field"> |
| 97 |
<?php |
| 98 |
/** |
| 99 |
* @since 6.32 |
| 100 |
* |
| 101 |
* @param array $align_options |
| 102 |
* @param array $atts |
| 103 |
*/ |
| 104 |
$radio_align_options = apply_filters( 'frm_radio_align_options', $align_options, $atts ); |
| 105 |
|
| 106 |
new FrmDropdownStyleComponent( |
| 107 |
$frm_style->get_field_name( 'radio_align' ), |
| 108 |
$style->post_content['radio_align'], |
| 109 |
array( |
| 110 |
'id' => 'frm_radio_align', |
| 111 |
'options' => $radio_align_options, |
| 112 |
) |
| 113 |
); |
| 114 |
?> |
| 115 |
</div> |