PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / trunk
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More vtrunk
6.35 6.34 6.33.1 6.33 6.32.1 6.32 6.31 6.25 6.25.1 6.26 6.26.1 6.27 6.28 6.29 6.3 6.3.1 6.3.2 6.30 6.4 6.4.1 6.4.2 6.5 6.5.1 6.5.2 6.5.3 All 141 releases
← All changes | classes/views/styles/_form-messages.php +164 -36 6.4.1 → trunk View file →
@@ -2,42 +2,170 @@
2 2 if ( ! defined( 'ABSPATH' ) ) {
3 3 die( 'You are not allowed to call this page directly.' );
4 4 }
5 5 ?>
6 - <h4><span><?php esc_html_e( 'Success Messages', 'formidable' ); ?></span></h4>
7 - <p class="frm4 frm_first frm_form_field">
8 - <label><?php esc_html_e( 'BG color', 'formidable' ); ?></label>
9 - <input name="<?php echo esc_attr( $frm_style->get_field_name( 'success_bg_color' ) ); ?>" id="frm_success_bg_color" class="hex" value="<?php echo esc_attr( $style->post_content['success_bg_color'] ); ?>" type="text" <?php do_action( 'frm_style_settings_input_atts', 'success_bg_color' ); ?> />
10 - </p>
11 - <p class="frm4 frm_form_field">
12 - <label><?php esc_html_e( 'Border', 'formidable' ); ?></label>
13 - <input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'success_border_color' ) ); ?>" id="frm_success_border_color" class="hex" value="<?php echo esc_attr( $style->post_content['success_border_color'] ); ?>" <?php do_action( 'frm_style_settings_input_atts', 'success_border_color' ); ?> />
14 - </p>
15 - <p class="frm4 frm_end frm_form_field">
16 - <label><?php esc_html_e( 'Text', 'formidable' ); ?></label>
17 - <input name="<?php echo esc_attr( $frm_style->get_field_name( 'success_text_color' ) ); ?>" id="frm_success_text_color" class="hex" value="<?php echo esc_attr( $style->post_content['success_text_color'] ); ?>" type="text" <?php do_action( 'frm_style_settings_input_atts', 'success_text_color' ); ?> />
18 - </p>
19 - <p class="frm4 frm_first frm_form_field">
20 - <label><?php esc_html_e( 'Size', 'formidable' ); ?></label>
21 - <input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'success_font_size' ) ); ?>" id="frm_success_font_size" value="<?php echo esc_attr( $style->post_content['success_font_size'] ); ?>" size="3" />
22 - </p>
6 +<div class="frm-style-tabs-wrapper">
7 + <div class="frm-tabs-delimiter">
8 + <span class="frm-tabs-active-underline"></span>
9 + </div>
10 + <div class="frm-tabs-navs">
11 + <ul class="frm-flex-box">
12 + <li class="frm-active"><?php esc_html_e( 'Success', 'formidable' ); ?></li>
13 + <li><?php esc_html_e( 'Error', 'formidable' ); ?></li>
14 + </ul>
15 + </div>
16 + <div class="frm-tabs-container">
17 + <div class="frm-tabs-slide-track frm-flex-box">
18 + <div class="frm-active">
19 + <div class="frm_grid_container">
20 + <div class="frm5 frm_form_field">
21 + <label
22 + for="frm_success_bg_color"
23 + class="frm-style-item-heading"><?php esc_html_e( 'BG Color', 'formidable' ); ?></label>
24 + </div>
25 + <div class="frm7 frm_form_field">
26 + <?php
27 + new FrmColorpickerStyleComponent(
28 + $frm_style->get_field_name( 'success_bg_color' ),
29 + $style->post_content['success_bg_color'],
30 + array(
31 + 'id' => 'frm_success_bg_color',
32 + 'action_slug' => 'success_bg_color',
33 + )
34 + );
35 + ?>
36 + </div>
23 37
24 - <h4 class="frm_clear">
25 - <span><?php esc_html_e( 'Error Messages', 'formidable' ); ?></span>
26 - </h4>
27 - <p class="frm4 frm_first frm_form_field">
28 - <label><?php esc_html_e( 'BG color', 'formidable' ); ?></label>
29 - <input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'error_bg' ) ); ?>" id="frm_error_bg" class="hex" value="<?php echo esc_attr( $style->post_content['error_bg'] ); ?>" <?php do_action( 'frm_style_settings_input_atts', 'error_bg' ); ?> />
30 - </p>
31 - <p class="frm4 frm_form_field">
32 - <label><?php esc_html_e( 'Border', 'formidable' ); ?></label>
33 - <input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'error_border' ) ); ?>" id="frm_error_border" class="hex" value="<?php echo esc_attr( $style->post_content['error_border'] ); ?>" <?php do_action( 'frm_style_settings_input_atts', 'error_border' ); ?> />
34 - </p>
35 - <p class="frm4 frm_end frm_form_field">
36 - <label><?php esc_html_e( 'Text', 'formidable' ); ?></label>
37 - <input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'error_text' ) ); ?>" id="frm_error_text" class="hex" value="<?php echo esc_attr( $style->post_content['error_text'] ); ?>" <?php do_action( 'frm_style_settings_input_atts', 'error_text' ); ?> />
38 - </p>
38 + <div class="frm5 frm_form_field">
39 + <label
40 + for="frm_success_border_color"
41 + class="frm-style-item-heading"><?php esc_html_e( 'Border Color', 'formidable' ); ?></label>
42 + </div>
43 + <div class="frm7 frm_form_field">
44 + <?php
45 + new FrmColorpickerStyleComponent(
46 + $frm_style->get_field_name( 'success_border_color' ),
47 + $style->post_content['success_border_color'],
48 + array(
49 + 'id' => 'frm_success_border_color',
50 + 'action_slug' => 'success_border_color',
51 + )
52 + );
53 + ?>
54 + </div>
39 55
40 - <p class="frm4 frm_first frm_form_field">
41 - <label><?php esc_html_e( 'Size', 'formidable' ); ?></label>
42 - <input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'error_font_size' ) ); ?>" id="frm_error_font_size" value="<?php echo esc_attr( $style->post_content['error_font_size'] ); ?>" size="3" />
43 - </p>
56 + <div class="frm5 frm_form_field">
57 + <label
58 + for="frm_success_text_color"
59 + class="frm-style-item-heading"><?php esc_html_e( 'Font Color', 'formidable' ); ?></label>
60 + </div>
61 + <div class="frm7 frm_form_field">
62 + <?php
63 + new FrmColorpickerStyleComponent(
64 + $frm_style->get_field_name( 'success_text_color' ),
65 + $style->post_content['success_text_color'],
66 + array(
67 + 'id' => 'frm_success_text_color',
68 + 'action_slug' => 'success_text_color',
69 + )
70 + );
71 + ?>
72 + </div>
73 +
74 + <div class="frm5 frm_form_field">
75 + <label
76 + for="frm_success_font_size"
77 + class="frm-style-item-heading"><?php esc_html_e( 'Font Size', 'formidable' ); ?></label>
78 + </div>
79 + <div class="frm7 frm_form_field">
80 + <?php
81 + new FrmSliderStyleComponent(
82 + $frm_style->get_field_name( 'success_font_size' ),
83 + $style->post_content['success_font_size'],
84 + array(
85 + 'id' => 'frm_success_font_size',
86 + 'max_value' => 100,
87 + )
88 + );
89 + ?>
90 + </div>
91 + </div>
92 + </div>
93 +
94 + <div>
95 + <div class="frm_grid_container">
96 + <div class="frm5 frm_form_field">
97 + <label
98 + for="frm_error_bg"
99 + class="frm-style-item-heading"><?php esc_html_e( 'BG Color', 'formidable' ); ?></label>
100 + </div>
101 + <div class="frm7 frm_form_field">
102 + <?php
103 + new FrmColorpickerStyleComponent(
104 + $frm_style->get_field_name( 'error_bg' ),
105 + $style->post_content['error_bg'],
106 + array(
107 + 'id' => 'frm_error_bg',
108 + 'action_slug' => 'error_bg',
109 + )
110 + );
111 + ?>
112 + </div>
113 +
114 + <div class="frm5 frm_form_field">
115 + <label
116 + for="frm_error_border"
117 + class="frm-style-item-heading"><?php esc_html_e( 'Border Color', 'formidable' ); ?></label>
118 + </div>
119 + <div class="frm7 frm_form_field">
120 + <?php
121 + new FrmColorpickerStyleComponent(
122 + $frm_style->get_field_name( 'error_border' ),
123 + $style->post_content['error_border'],
124 + array(
125 + 'id' => 'frm_error_border',
126 + 'action_slug' => 'error_border',
127 + )
128 + );
129 + ?>
130 + </div>
131 +
132 + <div class="frm5 frm_form_field">
133 + <label
134 + for="frm_error_text"
135 + class="frm-style-item-heading"><?php esc_html_e( 'Font Color', 'formidable' ); ?></label>
136 + </div>
137 + <div class="frm7 frm_form_field">
138 + <?php
139 + new FrmColorpickerStyleComponent(
140 + $frm_style->get_field_name( 'error_text' ),
141 + $style->post_content['error_text'],
142 + array(
143 + 'id' => 'frm_error_text',
144 + 'action_slug' => 'error_text',
145 + )
146 + );
147 + ?>
148 + </div>
149 +
150 + <div class="frm5 frm_form_field">
151 + <label
152 + for="frm_error_font_size"
153 + class="frm-style-item-heading"><?php esc_html_e( 'Font Size', 'formidable' ); ?></label>
154 + </div>
155 + <div class="frm7 frm_form_field">
156 + <?php
157 + new FrmSliderStyleComponent(
158 + $frm_style->get_field_name( 'error_font_size' ),
159 + $style->post_content['error_font_size'],
160 + array(
161 + 'id' => 'frm_error_font_size',
162 + 'max_value' => 100,
163 + )
164 + );
165 + ?>
166 + </div>
167 + </div>
168 + </div>
169 + </div>
170 + </div>
171 +</div>