PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 6.35
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v6.35
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
formidable / classes / views / styles / _field-labels.php

_field-labels.php in Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More 6.35, at classes/views/styles/_field-labels.php

191 lines 5.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if ( ! defined( 'ABSPATH' ) ) {
3 die( 'You are not allowed to call this page directly.' );
4 }
5 ?>
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( 'General', 'formidable' ); ?></li>
13 <li><?php esc_html_e( 'Required Indicator', '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_label_color"
23 class="frm-style-item-heading"><?php esc_html_e( 'Color', 'formidable' ); ?></label>
24 </div>
25 <div class="frm7 frm_form_field">
26 <?php
27 new FrmColorpickerStyleComponent(
28 $frm_style->get_field_name( 'label_color' ),
29 $style->post_content['label_color'],
30 array(
31 'id' => 'frm_label_color',
32 'action_slug' => 'label_color',
33 )
34 );
35 ?>
36 </div>
37
38 <div class="frm5 frm_form_field">
39 <label
40 for="frm_font_size"
41 class="frm-style-item-heading"><?php esc_html_e( 'Font Size', 'formidable' ); ?></label>
42 </div>
43 <div class="frm7 frm_form_field">
44 <?php
45 new FrmSliderStyleComponent(
46 $frm_style->get_field_name( 'font_size' ),
47 $style->post_content['font_size'],
48 array(
49 'id' => 'frm_font_size',
50 'max_value' => 100,
51 )
52 );
53 ?>
54 </div>
55
56 <div class="frm5 frm_form_field">
57 <label
58 for="frm_required_weight"
59 class="frm-style-item-heading"><?php esc_html_e( 'Weight', 'formidable' ); ?></label>
60 </div>
61 <div class="frm7 frm_form_field">
62 <?php
63 new FrmDropdownStyleComponent(
64 $frm_style->get_field_name( 'weight' ),
65 $style->post_content['weight'],
66 array(
67 'id' => 'frm_required_weight',
68 'options' => FrmStyle::get_bold_options(),
69 )
70 );
71 ?>
72 </div>
73
74 <div class="frm5 frm_form_field">
75 <label
76 for="frm_position"
77 class="frm-style-item-heading"><?php esc_html_e( 'Position', 'formidable' ); ?></label>
78 </div>
79 <div class="frm7 frm_form_field">
80 <?php
81 new FrmDropdownStyleComponent(
82 $frm_style->get_field_name( 'position' ),
83 $style->post_content['position'],
84 array(
85 'id' => 'frm_position',
86 'options' => FrmStylesHelper::get_css_label_positions(),
87 )
88 );
89 ?>
90 </div>
91
92 <div class="frm5 frm_form_field">
93 <label
94 for="frm_label_align"
95 class="frm-style-item-heading"><?php esc_html_e( 'Align', 'formidable' ); ?></label>
96 </div>
97 <div class="frm7 frm_form_field frm-sm-z-index">
98 <?php
99 new FrmAlignStyleComponent(
100 $frm_style->get_field_name( 'align' ),
101 $style->post_content['align'],
102 array(
103 'id' => 'frm_label_align',
104 'options' => array( 'left', 'right' ),
105 )
106 );
107 ?>
108 </div>
109
110 <div class="frm5 frm_form_field">
111 <label
112 for="frm_width"
113 class="frm-style-item-heading"><?php esc_html_e( 'Width', 'formidable' ); ?></label>
114 </div>
115 <div class="frm7 frm_form_field frm-md-z-index">
116 <?php
117 new FrmSliderStyleComponent(
118 $frm_style->get_field_name( 'width' ),
119 $style->post_content['width'],
120 array(
121 'id' => 'frm_width',
122 'max_value' => 300,
123 )
124 );
125 ?>
126 </div>
127
128 <div class="frm5 frm_form_field">
129 <label
130 for="frm_label_padding"
131 class="frm-style-item-heading"><?php esc_html_e( 'Padding', 'formidable' ); ?></label>
132 </div>
133 <div class="frm7 frm_form_field">
134 <?php
135 new FrmSliderStyleComponent(
136 $frm_style->get_field_name( 'label_padding' ),
137 $style->post_content['label_padding'],
138 array(
139 'id' => 'frm_label_padding',
140 'type' => 'vertical-margin',
141 'max_value' => 100,
142 )
143 );
144 ?>
145 </div>
146 </div>
147 </div>
148
149 <div>
150 <div class="frm_grid_container">
151 <div class="frm5 frm_form_field">
152 <label
153 for="frm_required_color"
154 class="frm-style-item-heading"><?php esc_html_e( 'Color', 'formidable' ); ?></label>
155 </div>
156 <div class="frm7 frm_form_field">
157 <?php
158 new FrmColorpickerStyleComponent(
159 $frm_style->get_field_name( 'required_color' ),
160 $style->post_content['required_color'],
161 array(
162 'id' => 'frm_required_color',
163 'action_slug' => 'required_color',
164 )
165 );
166 ?>
167 </div>
168
169 <div class="frm5 frm_form_field">
170 <label
171 for="frm_required_weight"
172 class="frm-style-item-heading"><?php esc_html_e( 'Weight', 'formidable' ); ?></label>
173 </div>
174 <div class="frm7 frm_form_field">
175 <?php
176 new FrmDropdownStyleComponent(
177 $frm_style->get_field_name( 'required_weight' ),
178 $style->post_content['required_weight'],
179 array(
180 'id' => 'frm_required_weight',
181 'options' => FrmStyle::get_bold_options(),
182 )
183 );
184 ?>
185 </div>
186 </div>
187 </div>
188 </div>
189 </div>
190 </div>
191