PluginProbe
User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor / 3.16.0
User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor v3.16.0
4.0.3 4.0.2 4.0.1 4.0.0 3.16.6 3.16.5 3.16.4 3.16.3 3.16.2 3.16.1 3.16.0 3.15.9 3.9.9 3.9.5 3.9.6 3.9.7 3.9.8 1.1.7 1.1.8 1.1.9 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 All 341 releases
profile-builder / admin / advanced-settings / includes / views / view-forms.php

view-forms.php in User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor 3.16.0, at admin/advanced-settings/includes/views/view-forms.php

567 lines 51.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php if ( ! defined( 'ABSPATH' ) ) exit; ?>
2
3 <?php
4 $settings = get_option( 'wppb_toolbox_forms_settings' );
5
6 if( function_exists( 'wppb_get_active_form_design' ) ){
7 $active_design = wppb_get_active_form_design();
8 } else {
9 $active_design = 'free';
10 }
11
12 $wppb_notifications_background_color_success_default = '#DCEDC8';
13 $wppb_notifications_background_color_error_default = '#FFCDD2';
14 $wppb_notifications_background_color_warning_default = '#FFF9C4';
15 $wppb_notifications_background_color_note_default = '#D6F5FF';
16 $wppb_notifications_background_color_default = '#F9F9F9';
17
18 if( $active_design === 'form-style-1') {
19 $wppb_primary_color_default = '#1079F3';
20 $wppb_secondary_color_default = '#2D8BF9';
21 $wppb_button_text_color_default = '#FFFFFF';
22 $wppb_label_size_default = '16';
23 $wppb_label_color_default = '#6E7A86';
24 $wppb_notifications_text_color_default = '#090A0B';
25 $wppb_notifications_border_color_success_default = '#689F38';
26 $wppb_notifications_border_color_error_default = '#C62828';
27 $wppb_notifications_border_color_warning_default = '#F9A825';
28 $wppb_notifications_border_color_note_default = '#00A0D2';
29 $wppb_progress_bar_fill_color_default = '#1079F3';
30 $wppb_progress_bar_background_color_default = '#D6F5FF';
31 $wppb_progress_bar_text_color_default = '#333333';
32 }
33 elseif( $active_design === 'form-style-2') {
34 $wppb_primary_color_default = '#558B2F';
35 $wppb_secondary_color_default = '#4A8124';
36 $wppb_button_text_color_default = '#FFFFFF';
37 $wppb_label_size_default = '16';
38 $wppb_label_color_default = '#6E7A86';
39 $wppb_notifications_text_color_default = '#6E7A86';
40 $wppb_notifications_border_color_success_default = '#558B2F';
41 $wppb_notifications_border_color_error_default = '#C62828';
42 $wppb_notifications_border_color_warning_default = '#F9A825';
43 $wppb_notifications_border_color_note_default = '#00A0D2';
44 $wppb_progress_bar_fill_color_default = '#558B2F';
45 $wppb_progress_bar_background_color_default = '#DCEDC8';
46 $wppb_progress_bar_text_color_default = '#333333';
47 }
48 elseif( $active_design === 'form-style-3') {
49 $wppb_primary_color_default = '#554FE6';
50 $wppb_secondary_color_default = '#443ECF';
51 $wppb_button_text_color_default = '#FFFFFF';
52 $wppb_label_size_default = '16';
53 $wppb_label_color_default = '#6E7A86';
54 $wppb_notifications_text_color_default = '#6E7A86';
55 $wppb_notifications_border_color_success_default = '#689F38';
56 $wppb_notifications_border_color_error_default = '#C62828';
57 $wppb_notifications_border_color_warning_default = '#F9A825';
58 $wppb_notifications_border_color_note_default = '#00A0D2';
59 $wppb_progress_bar_fill_color_default = '#554FE6'; // Primary color
60 $wppb_progress_bar_background_color_default = '#F0F2F5';
61 $wppb_progress_bar_text_color_default = '#333333';
62 }
63 else {
64 $wppb_primary_color_default = '';
65 $wppb_secondary_color_default = '';
66 $wppb_button_text_color_default = '';
67 $wppb_label_size_default = '';
68 $wppb_label_color_default = '';
69 $wppb_notifications_text_color_default = '';
70 $wppb_notifications_border_color_success_default = '';
71 $wppb_notifications_border_color_error_default = '';
72 $wppb_notifications_border_color_warning_default = '';
73 $wppb_notifications_border_color_note_default = '';
74 $wppb_progress_bar_fill_color_default = '#4cd964';
75 $wppb_progress_bar_background_color_default = '#f0f0f0';
76 $wppb_progress_bar_text_color_default = '#333333';
77 }
78
79
80 ?>
81
82 <form method="post" action="options.php">
83
84 <?php settings_fields( 'wppb_toolbox_forms_settings' ); ?>
85 <div class="cozmoslabs-settings-container">
86
87 <div class="cozmoslabs-form-subsection-wrapper cozmoslabs-settings cozmoslabs-no-title-section">
88 <?php if( $active_design !== 'form-style-default' && $active_design != 'free' ): ?>
89 <div class="cozmoslabs-form-field-wrapper cozmoslabs-toggle-switch color-switcher" data-active-design="<?php echo esc_attr( $active_design ); ?>">
90 <label class="cozmoslabs-form-field-label" for="wppb-color-switcher"><?php esc_html_e('Color Switcher', 'profile-builder'); ?></label>
91
92 <div class="cozmoslabs-toggle-container">
93 <input type="checkbox" id="wppb-color-switcher" name="wppb_toolbox_forms_settings[color-switcher]"<?php echo ( ( isset( $settings['color-switcher'] ) && $settings['color-switcher'] == 'yes' && $active_design !== 'form-style-default' ) ? ' checked' : '' ); ?> value="yes">
94 <label class="cozmoslabs-toggle-track" for="wppb-color-switcher"></label>
95 </div>
96
97 <div class="cozmoslabs-toggle-description">
98 <label for="wppb-color-switcher" class="cozmoslabs-description"><?php esc_html_e( 'Enable this option to change the colors of the forms.', 'profile-builder' ); ?></label>
99 </div>
100 </div>
101
102 <div class="cozmoslabs-form-field-wrapper wppb-color-switcher-section">
103 <label class="cozmoslabs-form-field-label"><?php esc_html_e( 'Primary Color', 'profile-builder' ); ?></label>
104 <input type="color" id ="wppb-primary-color" name="wppb_toolbox_forms_settings[primary-color]" class="custom_field_colorpicker" value="<?php echo ( ( isset( $settings['primary-color'] ) && !empty( $settings['primary-color'] ) ) ? esc_attr( $settings['primary-color'] ) : esc_attr( $wppb_primary_color_default ) ); ?>"/>
105 </div>
106
107 <div class="cozmoslabs-form-field-wrapper wppb-color-switcher-section">
108 <label class="cozmoslabs-form-field-label"><?php esc_html_e( 'Secondary Color', 'profile-builder' ); ?></label>
109 <input type="color" id ="wppb-secondary-color" name="wppb_toolbox_forms_settings[secondary-color]" class="custom_field_colorpicker" value="<?php echo ( ( isset( $settings['secondary-color'] ) && !empty( $settings['secondary-color'] ) ) ? esc_attr( $settings['secondary-color'] ) : esc_attr( $wppb_secondary_color_default ) ); ?>"/>
110 </div>
111
112 <div class="cozmoslabs-form-field-wrapper wppb-color-switcher-section">
113 <label class="cozmoslabs-form-field-label"><?php esc_html_e( 'Button Text Color', 'profile-builder' ); ?></label>
114 <input type="color" id ="wppb-button-text-color" name="wppb_toolbox_forms_settings[button-text-color]" class="custom_field_colorpicker" value="<?php echo ( ( isset( $settings['button-text-color'] ) && !empty( $settings['button-text-color'] ) ) ? esc_attr( $settings['button-text-color'] ) : esc_attr( $wppb_button_text_color_default ) ); ?>"/>
115 </div>
116
117 <div class="cozmoslabs-form-field-wrapper wppb-color-switcher-section">
118 <label class="cozmoslabs-form-field-label"><?php esc_html_e( 'Label Size', 'profile-builder' ); ?></label>
119 <input type="text" id ="wppb-label-size" name="wppb_toolbox_forms_settings[label-size]" class="custom_field_colorpicker" value="<?php echo ( ( isset( $settings['label-size'] ) && !empty( $settings['label-size'] ) ) ? esc_attr( $settings['label-size'] ) : esc_attr( $wppb_label_size_default ) ); ?>"/>
120 </div>
121
122 <div class="cozmoslabs-form-field-wrapper wppb-color-switcher-section">
123 <label class="cozmoslabs-form-field-label"><?php esc_html_e( 'Label Color', 'profile-builder' ); ?></label>
124 <input type="color" id ="wppb-label-color" name="wppb_toolbox_forms_settings[label-color]" class="custom_field_colorpicker" value="<?php echo ( ( isset( $settings['label-color'] ) && !empty( $settings['label-color'] ) ) ? esc_attr( $settings['label-color'] ) : esc_attr( $wppb_label_color_default ) ); ?>"/>
125 </div>
126
127 <div class="cozmoslabs-form-field-wrapper wppb-color-switcher-section">
128 <label class="cozmoslabs-form-field-label"><?php esc_html_e( 'Notification Text Color', 'profile-builder' ); ?></label>
129 <input type="color" id ="wppb-notifications-text-color" name="wppb_toolbox_forms_settings[notifications-text-color]" class="custom_field_colorpicker" value="<?php echo ( ( isset( $settings['notifications-text-color'] ) && !empty( $settings['notifications-text-color'] ) ) ? esc_attr( $settings['notifications-text-color'] ) : esc_attr( $wppb_notifications_text_color_default ) ); ?>"/>
130 </div>
131
132 <div class="cozmoslabs-form-field-wrapper wppb-color-switcher-section" id="wppb-notifications-background-section">
133 <label class="cozmoslabs-form-field-label"><?php esc_html_e( 'Notification Background Color', 'profile-builder' ); ?></label><br>
134 <input type="color" id ="wppb-notifications-background-color" name="wppb_toolbox_forms_settings[notifications-background-color]" class="custom_field_colorpicker wppb-other-style-fields" value="<?php echo ( ( isset( $settings['notifications-background-color'] ) && !empty( $settings['notifications-background-color'] ) ) ? esc_attr( $settings['notifications-background-color'] ) : esc_attr( $wppb_notifications_background_color_default ) ); ?>"/>
135 <div class="cozmoslabs-form-field-wrapper wppb-form-style-1-fields">
136 <label class="cozmoslabs-form-field-label"><?php esc_html_e( 'Success', 'profile-builder' ); ?></label>
137 <input type="color" id ="wppb-notifications-background-color-success" name="wppb_toolbox_forms_settings[notifications-background-color-success]" class="custom_field_colorpicker" value="<?php echo ( ( isset( $settings['notifications-background-color-success'] ) && !empty( $settings['notifications-background-color-success'] ) ) ? esc_attr( $settings['notifications-background-color-success'] ) : esc_attr( $wppb_notifications_background_color_success_default ) ); ?>"/>
138
139 <label class="cozmoslabs-form-field-label"><?php esc_html_e( 'Error', 'profile-builder' ); ?></label>
140 <input type="color" id ="wppb-notifications-background-color-error" name="wppb_toolbox_forms_settings[notifications-background-color-error]" class="custom_field_colorpicker" value="<?php echo ( ( isset( $settings['notifications-background-color-error'] ) && !empty( $settings['notifications-background-color-error'] ) ) ? esc_attr( $settings['notifications-background-color-error'] ) : esc_attr( $wppb_notifications_background_color_error_default ) ); ?>"/>
141
142 <label class="cozmoslabs-form-field-label"><?php esc_html_e( 'Warning', 'profile-builder' ); ?></label>
143 <input type="color" id ="wppb-notifications-background-color-warning" name="wppb_toolbox_forms_settings[notifications-background-color-warning]" class="custom_field_colorpicker" value="<?php echo ( ( isset( $settings['notifications-background-color-warning'] ) && !empty( $settings['notifications-background-color-warning'] ) ) ? esc_attr( $settings['notifications-background-color-warning'] ) : esc_attr( $wppb_notifications_background_color_warning_default ) ); ?>"/>
144
145 <label class="cozmoslabs-form-field-label"><?php esc_html_e( 'Note', 'profile-builder' ); ?></label>
146 <input type="color" id ="wppb-notifications-background-color-note" name="wppb_toolbox_forms_settings[notifications-background-color-note]" class="custom_field_colorpicker" value="<?php echo ( ( isset( $settings['notifications-background-color-note'] ) && !empty( $settings['notifications-background-color-note'] ) ) ? esc_attr( $settings['notifications-background-color-note'] ) : esc_attr( $wppb_notifications_background_color_note_default ) ); ?>"/>
147 </div>
148 </div>
149
150 <div class="cozmoslabs-form-field-wrapper wppb-color-switcher-section" id="wppb-notifications-border-section">
151 <label class="cozmoslabs-form-field-label"><?php esc_html_e( 'Notification Border Color', 'profile-builder' ); ?></label><br>
152 <div class="cozmoslabs-form-field-wrapper">
153 <label class="cozmoslabs-form-field-label"><?php esc_html_e( 'Success', 'profile-builder' ); ?></label>
154 <input type="color" id ="wppb-notifications-border-color-success" name="wppb_toolbox_forms_settings[notifications-border-color-success]" class="custom_field_colorpicker" value="<?php echo ( ( isset( $settings['notifications-border-color-success'] ) && !empty( $settings['notifications-border-color-success'] ) ) ? esc_attr( $settings['notifications-border-color-success'] ) : esc_attr( $wppb_notifications_border_color_success_default ) ); ?>"/>
155
156 <label class="cozmoslabs-form-field-label"><?php esc_html_e( 'Error', 'profile-builder' ); ?></label>
157 <input type="color" id ="wppb-notifications-border-color-error" name="wppb_toolbox_forms_settings[notifications-border-color-error]" class="custom_field_colorpicker" value="<?php echo ( ( isset( $settings['notifications-border-color-error'] ) && !empty( $settings['notifications-border-color-error'] ) ) ? esc_attr( $settings['notifications-border-color-error'] ) : esc_attr( $wppb_notifications_border_color_error_default ) ); ?>"/>
158
159 <label class="cozmoslabs-form-field-label"><?php esc_html_e( 'Warning', 'profile-builder' ); ?></label>
160 <input type="color" id ="wppb-notifications-border-color-warning" name="wppb_toolbox_forms_settings[notifications-border-color-warning]" class="custom_field_colorpicker" value="<?php echo ( ( isset( $settings['notifications-border-color-warning'] ) && !empty( $settings['notifications-border-color-warning'] ) ) ? esc_attr( $settings['notifications-border-color-warning'] ) : esc_attr( $wppb_notifications_border_color_warning_default ) ); ?>"/>
161
162 <label class="cozmoslabs-form-field-label"><?php esc_html_e( 'Note', 'profile-builder' ); ?></label>
163 <input type="color" id ="wppb-notifications-border-color-note" name="wppb_toolbox_forms_settings[notifications-border-color-note]" class="custom_field_colorpicker" value="<?php echo ( ( isset( $settings['notifications-border-color-note'] ) && !empty( $settings['notifications-border-color-note'] ) ) ? esc_attr( $settings['notifications-border-color-note'] ) : esc_attr( $wppb_notifications_border_color_note_default ) ); ?>"/>
164 </div>
165 </div>
166
167 <div class="cozmoslabs-form-field-wrapper wppb-color-switcher-section" id="wppb-progress-bar-section">
168 <label class="cozmoslabs-form-field-label"><?php esc_html_e( 'Progress Bar', 'profile-builder' ); ?></label><br>
169 <div class="cozmoslabs-form-field-wrapper">
170 <label class="cozmoslabs-form-field-label"><?php esc_html_e( 'Fill Color', 'profile-builder' ); ?></label>
171 <input type="color" id ="wppb-progress-bar-fill-color" name="wppb_toolbox_forms_settings[progress-bar-fill-color]" class="custom_field_colorpicker" value="<?php echo ( ( isset( $settings['progress-bar-fill-color'] ) && !empty( $settings['progress-bar-fill-color'] ) ) ? esc_attr( $settings['progress-bar-fill-color'] ) : esc_attr( $wppb_progress_bar_fill_color_default ) ); ?>"/>
172
173 <label class="cozmoslabs-form-field-label"><?php esc_html_e( 'Background Color', 'profile-builder' ); ?></label>
174 <input type="color" id ="wppb-progress-bar-background-color" name="wppb_toolbox_forms_settings[progress-bar-background-color]" class="custom_field_colorpicker" value="<?php echo ( ( isset( $settings['progress-bar-background-color'] ) && !empty( $settings['progress-bar-background-color'] ) ) ? esc_attr( $settings['progress-bar-background-color'] ) : esc_attr( $wppb_progress_bar_background_color_default ) ); ?>"/>
175
176 <label class="cozmoslabs-form-field-label"><?php esc_html_e( 'Text Color', 'profile-builder' ); ?></label>
177 <input type="color" id ="wppb-progress-bar-text-color" name="wppb_toolbox_forms_settings[progress-bar-text-color]" class="custom_field_colorpicker" value="<?php echo ( ( isset( $settings['progress-bar-text-color'] ) && !empty( $settings['progress-bar-text-color'] ) ) ? esc_attr( $settings['progress-bar-text-color'] ) : esc_attr( $wppb_progress_bar_text_color_default ) ); ?>"/>
178 </div>
179 </div>
180
181 <div class="cozmoslabs-form-field-wrapper wppb-color-switcher-section">
182 <button type="button" class="button reset button-secondary" id="reset-">
183 <?php esc_html_e( 'Reset Data', 'profile-builder' ); ?>
184 </button>
185 </div>
186 <?php endif; ?>
187
188 <div class="cozmoslabs-form-field-wrapper cozmoslabs-toggle-switch">
189 <input type="hidden" name="wppb_toolbox_forms_settings[placeholder-labels]" value="">
190
191 <label class="cozmoslabs-form-field-label" for="placeholder-labels-enable"><?php esc_html_e('Placeholder Labels', 'profile-builder'); ?></label>
192
193 <div class="cozmoslabs-toggle-container">
194 <input type="checkbox" id="placeholder-labels-enable" name="wppb_toolbox_forms_settings[placeholder-labels]"<?php echo ( ( isset( $settings['placeholder-labels'] ) && ( $settings['placeholder-labels'] == 'yes' ) ) ? ' checked' : '' ); ?> value="yes">
195 <label class="cozmoslabs-toggle-track" for="placeholder-labels-enable"></label>
196 </div>
197
198 <div class="cozmoslabs-toggle-description">
199 <label for="placeholder-labels-enable" class="cozmoslabs-description"><?php esc_html_e( 'Replace Labels with Placeholders in Profile Builder forms.', 'profile-builder' ); ?></label>
200 </div>
201 </div>
202
203 <div class="cozmoslabs-form-field-wrapper cozmoslabs-toggle-switch">
204 <label class="cozmoslabs-form-field-label" for="restricted-email-domains-enable"><?php esc_html_e('Email Domains Registering', 'profile-builder'); ?></label>
205
206 <div class="cozmoslabs-toggle-container">
207 <input type="checkbox" id="restricted-email-domains-enable" name="wppb_toolbox_forms_settings[restricted-email-domains]"<?php echo ( ( isset( $settings['restricted-email-domains'] ) && ( $settings['restricted-email-domains'] == 'on' ) ) ? ' checked' : '' ); ?> value="on" class="wppb-toolbox-switch">
208 <label class="cozmoslabs-toggle-track" for="restricted-email-domains-enable"></label>
209 </div>
210
211 <div class="cozmoslabs-toggle-description">
212 <label for="restricted-email-domains-enable" class="cozmoslabs-description"><?php esc_html_e( 'By enabling this option you can allow or deny email domains from registering.', 'profile-builder' ); ?></label>
213 </div>
214 </div>
215
216
217 <div class="cozmoslabs-form-field-wrapper wppb-toolbox-accordion">
218 <label class="cozmoslabs-form-field-label"><?php esc_html_e( 'Registering Type', 'profile-builder' ); ?></label>
219
220 <div class="cozmoslabs-radio-inputs-row">
221 <label>
222 <input type="radio" name="wppb_toolbox_forms_settings[restricted-email-domains-type]"<?php echo ( ( isset( $settings['restricted-email-domains-type'] ) && ( $settings['restricted-email-domains-type'] == 'allow' ) ) ? ' checked' : '' ); ?> value="allow">
223 <?php esc_html_e( 'Allow', 'profile-builder' ); ?>
224 </label>
225
226 <label>
227 <input type="radio" name="wppb_toolbox_forms_settings[restricted-email-domains-type]"<?php echo ( ( isset( $settings['restricted-email-domains-type'] ) && ( $settings['restricted-email-domains-type'] == 'deny' ) ) ? ' checked' : '' ); ?> value="deny">
228 <?php esc_html_e( 'Deny', 'profile-builder' ); ?>
229 </label>
230 </div>
231
232 <p class="cozmoslabs-description cozmoslabs-description-space-left"><?php esc_html_e( 'Choose rather to allow or deny Email Domains from registering.', 'profile-builder' ); ?></p>
233 </div>
234
235 <div class="cozmoslabs-form-field-wrapper wppb-toolbox-accordion">
236 <label class="cozmoslabs-form-field-label" for="toolbox-restricted-emails"><?php esc_html_e('Restricted Domains', 'profile-builder'); ?></label>
237
238 <select id="toolbox-restricted-emails" class="wppb-select" name="wppb_toolbox_forms_settings[restricted-email-domains-data][]" multiple="multiple">
239
240 <?php
241 if ( !empty( $settings['restricted-email-domains-data'] ) ) {
242 foreach( $settings['restricted-email-domains-data'] as $domain ) {
243 echo '<option value="'.esc_attr( $domain ).'" selected>'.esc_html( $domain ).'</option>';
244 }
245 }
246 ?>
247
248 </select>
249
250 <p class="cozmoslabs-description cozmoslabs-description-space-left"><?php esc_html_e( 'You should add only the domain in the list from above. eg.: gmail.com.', 'profile-builder' ); ?></p>
251 </div>
252
253 <div class="cozmoslabs-form-field-wrapper wppb-toolbox-accordion">
254 <label class="cozmoslabs-form-field-label" for="toolbox-restricted-email-domains-message"><?php esc_html_e('Error Message', 'profile-builder'); ?></label>
255 <input type="text" id="toolbox-restricted-email-domains-message" name="wppb_toolbox_forms_settings[restricted-email-domains-message]" value="<?php echo ( !empty( $settings['restricted-email-domains-message']) ? esc_attr( $settings['restricted-email-domains-message'] ) : '' ); ?>">
256 <p class="cozmoslabs-description cozmoslabs-description-space-left"><?php esc_html_e( 'Add the Email Domain Registering restriction message.', 'profile-builder' ); ?></p>
257 </div>
258
259
260
261
262
263 <?php
264 $wppb_module_settings = get_option( 'wppb_module_settings' );
265
266 if ( $wppb_module_settings != false && isset( $wppb_module_settings['wppb_multipleRegistrationForms']) && $wppb_module_settings['wppb_multipleRegistrationForms'] == 'show' ) :
267 ?>
268 <div class="cozmoslabs-form-field-wrapper">
269 <label class="cozmoslabs-form-field-label" for="toolbox-bypass-ec"><?php esc_html_e('Email Confirmation Bypass Forms', 'profile-builder'); ?></label>
270
271 <select id="toolbox-bypass-ec" class="wppb-select" name="wppb_toolbox_forms_settings[ec-bypass][]" multiple="multiple">
272
273 <?php
274 $registration_forms = get_posts( array( 'post_type' => 'wppb-rf-cpt', 'numberposts' => -1 ) );
275
276 if ( !empty( $registration_forms ) ) {
277 foreach ( $registration_forms as $form ) {
278 $form_slug = trim( Wordpress_Creation_Kit_PB::wck_generate_slug( $form->post_title ) );
279
280 ?>
281 <option value="<?php echo esc_attr( $form_slug ); ?>" <?php echo ( ( isset( $settings['ec-bypass'] ) && in_array( $form_slug, $settings['ec-bypass'] ) ) ? 'selected' : '' ); ?>>
282 <?php echo esc_html( $form->post_title ); ?>
283 </option>
284 <?php
285 }
286 }
287 ?>
288
289 </select>
290
291 <p class="cozmoslabs-description cozmoslabs-description-space-left"><?php esc_html_e( 'Select the Forms that should bypass Email Confirmation.', 'profile-builder' ); ?></p>
292 <p class="cozmoslabs-description cozmoslabs-description-space-left"><?php esc_html_e( 'Users registering through any of the selected forms will not need to confirm their email address.', 'profile-builder' ); ?></p>
293 </div>
294 <?php endif; ?>
295
296 <div class="cozmoslabs-form-field-wrapper cozmoslabs-toggle-switch">
297 <label class="cozmoslabs-form-field-label" for="toolbox-confirm-user-email-change"><?php esc_html_e('Email confirmation', 'profile-builder'); ?></label>
298
299 <div class="cozmoslabs-toggle-container">
300 <input type="checkbox" id="toolbox-confirm-user-email-change" name="wppb_toolbox_forms_settings[confirm-user-email-change]"<?php echo ( ( isset( $settings['confirm-user-email-change'] ) && ( $settings['confirm-user-email-change'] == 'yes' ) ) ? ' checked' : '' ); ?> value="yes">
301 <label class="cozmoslabs-toggle-track" for="toolbox-confirm-user-email-change"></label>
302 </div>
303
304 <div class="cozmoslabs-toggle-description">
305 <label for="toolbox-confirm-user-email-change" class="cozmoslabs-description"><?php esc_html_e( 'Enable “Email confirmation” for changing user email address.', 'profile-builder' ); ?></label>
306 </div>
307
308 <p class="cozmoslabs-description cozmoslabs-description-space-left"><?php esc_html_e( 'If enabled, an activation email is sent for the new email address.', 'profile-builder' ); ?></p>
309 </div>
310
311 <?php if ( defined( 'WPPB_PAID_PLUGIN_DIR' ) && file_exists( WPPB_PAID_PLUGIN_DIR.'/add-ons-advanced/social-connect/index.php' ) ) : ?>
312 <div class="cozmoslabs-form-field-wrapper cozmoslabs-toggle-switch">
313 <label class="cozmoslabs-form-field-label" for="toolbox-social-connect-bypass-ec"><?php esc_html_e('Bypass Email Confirmation', 'profile-builder'); ?></label>
314
315 <div class="cozmoslabs-toggle-container">
316 <input type="checkbox" id="toolbox-social-connect-bypass-ec" name="wppb_toolbox_forms_settings[social-connect-bypass-ec]"<?php echo ( ( isset( $settings['social-connect-bypass-ec'] ) && ( $settings['social-connect-bypass-ec'] == 'yes' ) ) ? ' checked' : '' ); ?> value="yes">
317 <label class="cozmoslabs-toggle-track" for="toolbox-social-connect-bypass-ec"></label>
318 </div>
319
320 <div class="cozmoslabs-toggle-description">
321 <label for="toolbox-social-connect-bypass-ec" class="cozmoslabs-description"><?php esc_html_e( 'Disable Email Confirmation for Social Connect registrations.', 'profile-builder' ); ?></label>
322 </div>
323
324 <p class="cozmoslabs-description cozmoslabs-description-space-left"><?php esc_html_e( 'Allow users that register through the Social Connect add-on to bypass the Email Confirmation feature.', 'profile-builder' ); ?></p>
325 </div>
326 <?php endif; ?>
327
328 <div class="cozmoslabs-form-field-wrapper cozmoslabs-toggle-switch">
329 <label class="cozmoslabs-form-field-label" for="toolbox-remember-me"><?php esc_html_e('Checked Remember Me', 'profile-builder'); ?></label>
330
331 <div class="cozmoslabs-toggle-container">
332 <input type="checkbox" id="toolbox-remember-me" name="wppb_toolbox_forms_settings[remember-me]"<?php echo ( ( isset( $settings['remember-me'] ) && ( $settings['remember-me'] == 'yes' ) ) ? ' checked' : '' ); ?> value="yes">
333 <label class="cozmoslabs-toggle-track" for="toolbox-remember-me"></label>
334 </div>
335
336 <div class="cozmoslabs-toggle-description">
337 <label for="toolbox-remember-me" class="cozmoslabs-description"><?php esc_html_e( 'Check the "Remember Me" checkbox on Login forms, by default.', 'profile-builder' ); ?></label>
338 </div>
339 </div>
340
341 <div class="cozmoslabs-form-field-wrapper cozmoslabs-toggle-switch">
342 <label class="cozmoslabs-form-field-label" for="toolbox-recover-password-autologin"><?php esc_html_e('Password Reset Auto-Login', 'profile-builder'); ?></label>
343
344 <div class="cozmoslabs-toggle-container">
345 <input type="checkbox" id="toolbox-recover-password-autologin" name="wppb_toolbox_forms_settings[recover-password-autologin]"<?php echo ( ( isset( $settings['recover-password-autologin'] ) && ( $settings['recover-password-autologin'] == 'yes' ) ) ? ' checked' : '' ); ?> value="yes">
346 <label class="cozmoslabs-toggle-track" for="toolbox-recover-password-autologin"></label>
347 </div>
348
349 <div class="cozmoslabs-toggle-description">
350 <label for="toolbox-recover-password-autologin" class="cozmoslabs-description"><?php esc_html_e( 'Automatically log in users after they reset their password using the Recover Password form.', 'profile-builder' ); ?></label>
351 </div>
352 </div>
353
354 <div class="cozmoslabs-form-field-wrapper cozmoslabs-toggle-switch">
355 <label class="cozmoslabs-form-field-label" for="toolbox-back-end-validation"><?php esc_html_e('Remove Profile Page Validation', 'profile-builder'); ?></label>
356
357 <div class="cozmoslabs-toggle-container">
358 <input type="checkbox" id="toolbox-back-end-validation" name="wppb_toolbox_forms_settings[back-end-validation]"<?php echo ( ( isset( $settings['back-end-validation'] ) && ( $settings['back-end-validation'] == 'yes' ) ) ? ' checked' : '' ); ?> value="yes">
359 <label class="cozmoslabs-toggle-track" for="toolbox-back-end-validation"></label>
360 </div>
361
362 <div class="cozmoslabs-toggle-description">
363 <label for="toolbox-back-end-validation" class="cozmoslabs-description"><?php esc_html_e( 'Remove validation from back-end Profile page.', 'profile-builder' ); ?></label>
364 </div>
365 </div>
366
367 <?php
368 $users = count_users();
369
370 if ( $users['total_users'] >= 5000 ) : ?>
371 <div class="cozmoslabs-form-field-wrapper cozmoslabs-toggle-switch">
372 <label class="cozmoslabs-form-field-label" for="toolbox-edit-other-users-limit"><?php esc_html_e('Edit Users Selector', 'profile-builder'); ?></label>
373
374 <div class="cozmoslabs-toggle-container">
375 <input type="checkbox" id="toolbox-edit-other-users-limit" name="wppb_toolbox_forms_settings[edit-other-users-limit]"<?php echo ( ( isset( $settings['edit-other-users-limit'] ) && ( $settings['edit-other-users-limit'] == 'yes' ) ) ? ' checked' : '' ); ?> value="yes">
376 <label class="cozmoslabs-toggle-track" for="toolbox-edit-other-users-limit"></label>
377 </div>
378
379 <div class="cozmoslabs-toggle-description">
380 <p class="cozmoslabs-description"><?php esc_html_e( 'Always show edit other users dropdown.', 'profile-builder' ); ?></p>
381 </div>
382
383 <p class="cozmoslabs-description cozmoslabs-description-space-left"><?php esc_html_e( 'For perfomance reasons, we disable the Select if you have more than 5000 users on your website.', 'profile-builder' ); ?></p>
384 </div>
385 <?php endif; ?>
386
387 <div class="cozmoslabs-form-field-wrapper cozmoslabs-toggle-switch">
388 <label class="cozmoslabs-form-field-label" for="toolbox-users-can-register"><?php esc_html_e('Anyone can Register', 'profile-builder'); ?></label>
389
390 <div class="cozmoslabs-toggle-container">
391 <input type="checkbox" id="toolbox-users-can-register" name="wppb_toolbox_forms_settings[users-can-register]"<?php echo ( ( isset( $settings['users-can-register'] ) && ( $settings['users-can-register'] == 'yes' ) ) ? ' checked' : '' ); ?> value="yes">
392 <label class="cozmoslabs-toggle-track" for="toolbox-users-can-register"></label>
393 </div>
394
395 <div class="cozmoslabs-toggle-description">
396 <label for="toolbox-users-can-register" class="cozmoslabs-description"><?php esc_html_e( 'Consider "Anyone can Register" WordPress option.', 'profile-builder' ); ?></label>
397 </div>
398
399 <p class="cozmoslabs-description cozmoslabs-description-space-left">
400 <?php
401 echo wp_kses_post( sprintf( __( 'By default, Profile Builder ignores this %1$s. By enabling this option, our Registration Form will consider it.', 'profile-builder' ), '<a href="'. esc_url( admin_url( 'options-general.php' ) ) .'" target="_blank">' . esc_html__( 'setting', 'profile-builder' ) . '</a>' ) );
402 ?>
403 </p>
404 </div>
405
406 <div class="cozmoslabs-form-field-wrapper">
407 <label class="cozmoslabs-form-field-label" for="toolbox-redirect-delay-timer"><?php esc_html_e('Redirect Delay Timer', 'profile-builder'); ?></label>
408 <input type="text" id="toolbox-redirect-delay-timer" name="wppb_toolbox_forms_settings[redirect-delay-timer]" value="<?php echo ( ( !empty( $settings['redirect-delay-timer'] ) || ( isset( $settings['redirect-delay-timer'] ) && $settings['redirect-delay-timer'] == 0 ) ) ? esc_attr( $settings['redirect-delay-timer'] ) : '' ); ?>">
409 <p class="cozmoslabs-description cozmoslabs-description-space-left"><?php esc_html_e( 'This allows you to change the amount of seconds it takes for the "After Registration" redirect to happen.', 'profile-builder' ); ?></p>
410 <p class="cozmoslabs-description cozmoslabs-description-space-left"><?php esc_html_e( 'The default is 3 seconds. Leave empty if you do not want to change it.', 'profile-builder' ); ?></p>
411 </div>
412
413 <?php if ( defined( 'WPPB_PAID_PLUGIN_DIR' ) && file_exists( WPPB_PAID_PLUGIN_DIR.'/features/admin-approval/admin-approval.php' ) ) : ?>
414 <div class="cozmoslabs-form-field-wrapper cozmoslabs-toggle-switch">
415 <label class="cozmoslabs-form-field-label" for="toolbox-save-admin-approval-status"><?php esc_html_e('Admin Approval Status Usermeta', 'profile-builder'); ?></label>
416
417 <div class="cozmoslabs-toggle-container">
418 <input type="checkbox" id="toolbox-save-admin-approval-status" name="wppb_toolbox_forms_settings[save-admin-approval-status]"<?php echo ( ( isset( $settings['save-admin-approval-status'] ) && ( $settings['save-admin-approval-status'] == 'yes' ) ) ? ' checked' : '' ); ?> value="yes">
419 <label class="cozmoslabs-toggle-track" for="toolbox-save-admin-approval-status"></label>
420 </div>
421
422 <div class="cozmoslabs-toggle-description">
423 <label for="toolbox-save-admin-approval-status" class="cozmoslabs-description"><?php esc_html_e( 'Save Admin Approval status in usermeta.', 'profile-builder' ); ?></label>
424 </div>
425
426 <p class="cozmoslabs-description cozmoslabs-description-space-left"><?php esc_html_e( 'By default, the Admin Approval status is saved as a custom taxonomy that is attached to the user.', 'profile-builder' ); ?></p>
427 <p class="cozmoslabs-description cozmoslabs-description-space-left"><?php esc_html_e( 'By enabling this option, the status will also be saved in the "*_usermeta" table under the "wppb_approval_status" meta name.', 'profile-builder' ); ?></p>
428 </div>
429 <?php endif; ?>
430
431 <?php if ( defined( 'WPPB_PAID_PLUGIN_DIR' ) && file_exists( WPPB_PAID_PLUGIN_DIR.'/features/admin-approval/admin-approval.php' ) ) : ?>
432 <div class="cozmoslabs-form-field-wrapper cozmoslabs-toggle-switch">
433 <label class="cozmoslabs-form-field-label" for="toolbox-redirect-author-page"><?php esc_html_e('Redirect Unapproved Users', 'profile-builder'); ?></label>
434
435 <div class="cozmoslabs-toggle-container">
436 <input type="checkbox" id="toolbox-redirect-author-page" name="wppb_toolbox_forms_settings[redirect-author-page]"<?php echo ( ( isset( $settings['redirect-author-page'] ) && ( $settings['redirect-author-page'] == 'yes' ) ) ? ' checked' : '' ); ?> value="yes">
437 <label class="cozmoslabs-toggle-track" for="toolbox-redirect-author-page"></label>
438 </div>
439
440 <div class="cozmoslabs-toggle-description">
441 <label for="toolbox-redirect-author-page" class="cozmoslabs-description"><?php esc_html_e( 'Redirect "/author" page if user is not approved.', 'profile-builder' ); ?></label>
442 </div>
443
444 <p class="cozmoslabs-description cozmoslabs-description-space-left"><?php esc_html_e( 'By default, users placed in Admin Approval will not be able to login, but the Author pages will be accessible.', 'profile-builder' ); ?></p>
445 <p class="cozmoslabs-description cozmoslabs-description-space-left"><?php esc_html_e( 'Using this option you can redirect these pages, sending users who try to access them to your home page.', 'profile-builder' ); ?></p>
446 </div>
447 <?php endif; ?>
448
449 <div class="cozmoslabs-form-field-wrapper cozmoslabs-toggle-switch">
450 <label class="cozmoslabs-form-field-label" for="toolbox-save-last-login"><?php esc_html_e('Last Login Usermeta', 'profile-builder'); ?></label>
451
452 <div class="cozmoslabs-toggle-container">
453 <input type="checkbox" id="toolbox-save-last-login" name="wppb_toolbox_forms_settings[save-last-login]"<?php echo ( ( isset( $settings['save-last-login'] ) && ( $settings['save-last-login'] == 'yes' ) ) ? ' checked' : '' ); ?> value="yes">
454 <label class="cozmoslabs-toggle-track" for="toolbox-save-last-login"></label>
455 </div>
456
457 <div class="cozmoslabs-toggle-description">
458 <label for="toolbox-save-last-login" class="cozmoslabs-description"><?php esc_html_e( 'Save "Last Login" date in usermeta.', 'profile-builder' ); ?></label>
459 </div>
460
461 <p class="cozmoslabs-description cozmoslabs-description-space-left"><?php esc_html_e( 'By enabling this option, each time a user logins, the date and time will be saved in the database under the "last_login_date" meta name.', 'profile-builder' ); ?></p>
462 <p class="cozmoslabs-description cozmoslabs-description-space-left"><?php echo wp_kses_post( __( 'You can <a href="https://www.cozmoslabs.com/docs/profile-builder/manage-user-fields/?utm_source=pb-advanced-settings&utm_medium=client-site&utm_campaign=pb-last-login#Manage_existing_custom_fields_with_Profile_Builder" target="_blank">create a field with this meta name</a> to display it in the Userlisting or Edit Profile forms.', 'profile-builder' ) ); ?></p>
463 </div>
464
465 <div class="cozmoslabs-form-field-wrapper cozmoslabs-toggle-switch">
466 <label class="cozmoslabs-form-field-label" for="toolbox-save-last-profile-update"><?php esc_html_e('Last Profile Update Usermeta', 'profile-builder'); ?></label>
467
468 <div class="cozmoslabs-toggle-container">
469 <input type="checkbox" id="toolbox-save-last-profile-update" name="wppb_toolbox_forms_settings[save-last-profile-update]"<?php echo ( ( isset( $settings['save-last-profile-update'] ) && ( $settings['save-last-profile-update'] == 'yes' ) ) ? ' checked' : '' ); ?> value="yes">
470 <label class="cozmoslabs-toggle-track" for="toolbox-save-last-profile-update"></label>
471 </div>
472
473 <div class="cozmoslabs-toggle-description">
474 <label for="toolbox-save-last-profile-update" class="cozmoslabs-description"><?php esc_html_e( 'Save "Last Profile Update" date in usermeta.', 'profile-builder' ); ?></label>
475 </div>
476
477 <p class="cozmoslabs-description cozmoslabs-description-space-left"><?php esc_html_e( 'By enabling this option, each time a user modifies his profile the date and time will be saved in the database under the "last_profile_update_date" meta name.', 'profile-builder' ); ?></p>
478 <p class="cozmoslabs-description cozmoslabs-description-space-left"><?php echo wp_kses_post( __( 'You can <a href="https://www.cozmoslabs.com/docs/profile-builder/manage-user-fields/?utm_source=pb-advanced-settings&utm_medium=client-site&utm_campaign=pb-last-profile-update#Manage_existing_custom_fields_with_Profile_Builder" target="_blank">create a field with this meta name</a> to display it in the Userlisting or Edit Profile forms.', 'profile-builder' ) ); ?></p>
479 </div>
480
481 <div class="cozmoslabs-form-field-wrapper cozmoslabs-toggle-switch">
482 <label class="cozmoslabs-form-field-label" for="toolbox-disable-automatic-scrolling"><?php esc_html_e('Disable Automatic Scrolling', 'profile-builder'); ?></label>
483
484 <div class="cozmoslabs-toggle-container">
485 <input type="checkbox" id="toolbox-disable-automatic-scrolling" name="wppb_toolbox_forms_settings[disable-automatic-scrolling]"<?php echo ( ( isset( $settings['disable-automatic-scrolling'] ) && ( $settings['disable-automatic-scrolling'] == 'yes' ) ) ? ' checked' : '' );?> value="yes">
486 <label class="cozmoslabs-toggle-track" for="toolbox-disable-automatic-scrolling"></label>
487 </div>
488
489 <div class="cozmoslabs-toggle-description">
490 <label for="toolbox-disable-automatic-scrolling" class="cozmoslabs-description"><?php esc_html_e( 'Disable automatic scrolling after submit.', 'profile-builder' ); ?></label>
491 </div>
492
493 <p class="cozmoslabs-description cozmoslabs-description-space-left"><?php esc_html_e( 'By default, after each form submission the page will automatically scroll to the form message. By enabling this option, automatic scrolling will be disabled.', 'profile-builder' ); ?></p>
494 </div>
495
496 <?php if( wppb_conditional_fields_exists() ): ?>
497 <div class="cozmoslabs-form-field-wrapper cozmoslabs-toggle-switch">
498 <label class="cozmoslabs-form-field-label" for="toolbox-ajax-conditional-logic"><?php esc_html_e('Conditional Fields Ajax', 'profile-builder'); ?></label>
499
500 <div class="cozmoslabs-toggle-container">
501 <input type="checkbox" id="toolbox-ajax-conditional-logic" name="wppb_toolbox_forms_settings[ajax-conditional-logic]"<?php echo ( ( isset( $settings['ajax-conditional-logic'] ) && ( $settings['ajax-conditional-logic'] == 'yes' ) ) ? ' checked' : '' );?> value="yes">
502 <label class="cozmoslabs-toggle-track" for="toolbox-ajax-conditional-logic"></label>
503 </div>
504
505 <div class="cozmoslabs-toggle-description">
506 <label for="toolbox-ajax-conditional-logic" class="cozmoslabs-description"><?php esc_html_e( 'Use Ajax on conditional fields.', 'profile-builder' ); ?></label>
507 </div>
508
509 <p class="cozmoslabs-description cozmoslabs-description-space-left"><?php esc_html_e( 'For large conditional forms. Enable option for improved page performance.', 'profile-builder' ); ?></p>
510 </div>
511 <?php endif; ?>
512
513 <input type="hidden" name="wppb_toolbox_current_tab" value="forms" />
514
515 </div>
516
517 <div class="submit cozmoslabs-submit">
518 <h3 class="cozmoslabs-subsection-title"><?php esc_html_e( 'Update Settings', 'profile-builder' ) ?></h3>
519 <div class="cozmoslabs-publish-button-group">
520 <?php submit_button( __( 'Save Changes', 'profile-builder' ) ); ?>
521 </div>
522 </div>
523
524 </div>
525
526 </form>
527
528 <?php if( $active_design !== 'form-style-default' && $active_design != 'free' ): ?>
529 <div id="modal-reset" class="wppb-ul-color-switcher-reset-modal" title="Reset Colors">
530 <form method="post" id="reset-content-data-colors">
531 <input type="hidden" value="color_switcher_reset_data" name="action">
532 <div class="wppb-reset-modal-content">
533 <p class="wppb-options-message"><?php esc_html_e('Select which settings you want to reset:', 'profile-builder'); ?></p>
534 <div class="wppb-reset-options">
535 <div class="wppb-options-wrapper cozmoslabs-checkbox-list" id="color-options">
536 <label for="wppb-settings-primary-color"><input type="checkbox" name="reset_primary_color" id="wppb-settings-primary-color" value="<?php echo esc_attr( $wppb_primary_color_default ) ?>"><?php esc_html_e('Primary Color', 'profile-builder'); ?></label>
537 <label for="wppb-settings-secondary-color"><input type="checkbox" name="reset_secondary_color" id="wppb-settings-secondary-color" value="<?php echo esc_attr( $wppb_secondary_color_default ) ?>"><?php esc_html_e('Secondary Color', 'profile-builder'); ?></label>
538 <label for="wppb-settings-button-text-color"><input type="checkbox" name="reset_button_text_color" id="wppb-settings-button-text-color" value="<?php echo esc_attr( $wppb_button_text_color_default ) ?>"><?php esc_html_e('Button Text Color', 'profile-builder'); ?></label>
539 <label for="wppb-settings-label-size"><input type="checkbox" name="reset_label_size" id="wppb-settings-label-size" value="<?php echo esc_attr( $wppb_label_size_default ) ?>"><?php esc_html_e('Label Size', 'profile-builder'); ?></label>
540 <label for="wppb-settings-label-color"><input type="checkbox" name="reset_label_color" id="wppb-settings-label-color" value="<?php echo esc_attr( $wppb_label_color_default ) ?>"><?php esc_html_e('Label Color', 'profile-builder'); ?></label>
541 <label for="wppb-settings-notifications-text-color"><input type="checkbox" name="reset_notifications_text_color" id="wppb-settings-notifications-text-color" value="<?php echo esc_attr( $wppb_notifications_text_color_default ) ?>"><?php esc_html_e('Notification Text Color', 'profile-builder'); ?></label>
542 <label class="wppb-form-style-1-fields" for="wppb-settings-notifications-background-color-success"><input type="checkbox" name="reset_notifications_background_color_success" id="wppb-settings-notifications-background-color-success" value="<?php echo esc_attr( $wppb_notifications_background_color_success_default ) ?>"><?php esc_html_e('Notification Background Color - Success', 'profile-builder'); ?></label>
543 <label class="wppb-form-style-1-fields" for="wppb-settings-notifications-background-color-error"><input type="checkbox" name="reset_notifications_background_color_error" id="wppb-settings-notifications-background-color-error" value="<?php echo esc_attr( $wppb_notifications_background_color_error_default ) ?>"><?php esc_html_e('Notification Background Color - Error', 'profile-builder'); ?></label>
544 <label class="wppb-form-style-1-fields" for="wppb-settings-notifications-background-color-warning"><input type="checkbox" name="reset_notifications_background_color_warning" id="wppb-settings-notifications-background-color-warning" value="<?php echo esc_attr( $wppb_notifications_background_color_warning_default ) ?>"><?php esc_html_e('Notification Background Color - Warning', 'profile-builder'); ?></label>
545 <label class="wppb-form-style-1-fields" for="wppb-settings-notifications-background-color-note"><input type="checkbox" name="reset_notifications_background_color_note" id="wppb-settings-notifications-background-color-note" value="<?php echo esc_attr( $wppb_notifications_background_color_note_default ) ?>"><?php esc_html_e('Notification Background Color - Note', 'profile-builder'); ?></label>
546 <label class="wppb-other-style-fields" for="wppb-settings-notifications-background-color"><input type="checkbox" name="reset_notifications_background_color" id="wppb-settings-notifications-background-color" value="<?php echo esc_attr( $wppb_notifications_background_color_default ) ?>"><?php esc_html_e('Notification Background Color', 'profile-builder'); ?></label>
547 <label for="wppb-settings-notifications-border-color-success"><input type="checkbox" name="reset_notifications_border_color_success" id="wppb-settings-notifications-border-color-success" value="<?php echo esc_attr( $wppb_notifications_border_color_success_default ) ?>"><?php esc_html_e('Notification Border Color - Success', 'profile-builder'); ?></label>
548 <label for="wppb-settings-notifications-border-color-error"><input type="checkbox" name="reset_notifications_border_color_error" id="wppb-settings-notifications-border-color-error" value="<?php echo esc_attr( $wppb_notifications_border_color_error_default ) ?>"><?php esc_html_e('Notification Border Color - Error', 'profile-builder'); ?></label>
549 <label for="wppb-settings-notifications-border-color-warning"><input type="checkbox" name="reset_notifications_border_color_warning" id="wppb-settings-notifications-border-color-warning" value="<?php echo esc_attr( $wppb_notifications_border_color_warning_default ) ?>"><?php esc_html_e('Notification Border Color - Warning', 'profile-builder'); ?></label>
550 <label for="wppb-settings-notifications-border-color-note"><input type="checkbox" name="reset_notifications_border_color_note" id="wppb-settings-notifications-border-color-note" value="<?php echo esc_attr( $wppb_notifications_border_color_note_default ) ?>"><?php esc_html_e('Notification Border Color - Note', 'profile-builder'); ?></label>
551 <label for="wppb-settings-progress-bar-fill-color"><input type="checkbox" name="reset_progress_bar_fill_color" id="wppb-settings-progress_bar_fill_color" value="<?php echo esc_attr( $wppb_progress_bar_fill_color_default ) ?>"><?php esc_html_e('Progress Bar Fill Color', 'profile-builder'); ?></label>
552 <label for="wppb-settings-progress-bar-background-color"><input type="checkbox" name="reset_progress_bar_background_color" id="wppb-settings-progress_bar_background_color" value="<?php echo esc_attr( $wppb_progress_bar_background_color_default ) ?>"><?php esc_html_e('Progress Bar Background Color', 'profile-builder'); ?></label>
553 <label for="wppb-settings-progress-bar-text-color"><input type="checkbox" name="reset_progress_bar_text_color" id="wppb-settings-progress_bar_text_color" value="<?php echo esc_attr( $wppb_progress_bar_text_color_default ) ?>"><?php esc_html_e('Progress Bar Text Color', 'profile-builder'); ?></label>
554
555 <label for="wppb-settings-all-colors"><input type="checkbox" name="reset_all_colors" id="wppb-settings-all-colors" value="all"><?php esc_html_e('Reset All Color Settings', 'profile-builder'); ?></label>
556 </div>
557 </div>
558 <div class="wppb-reset-buttons">
559 <button type="button" class="button cancel-reset" value="modal-reset" ><?php esc_html_e('Cancel', 'profile-builder'); ?></button>
560 <button type="submit" class="button button-primary confirm-reset">
561 <?php esc_html_e('Confirm', 'profile-builder') ?>
562 </button>
563 </div>
564 </div>
565 </form>
566 </div>
567 <?php endif; ?>