PluginProbe
User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor / 4.0.3
User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor v4.0.3
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
← All changes | admin/advanced-settings/includes/views/view-userlisting.php +69 -69 3.9.8 → 4.0.3 View file →
@@ -5,89 +5,89 @@
5 5 <form method="post" action="options.php">
6 6
7 7 <?php settings_fields( 'wppb_toolbox_userlisting_settings' ); ?>
8 8
9 - <table class="form-table">
9 + <div class="cozmoslabs-settings-container">
10 10
11 - <tr>
12 - <th><?php esc_html_e( 'Change placeholder text for Search box', 'profile-builder' ); ?></th>
11 + <div class="cozmoslabs-form-subsection-wrapper cozmoslabs-settings cozmoslabs-no-title-section">
12 + <div class="cozmoslabs-form-field-wrapper">
13 + <label class="cozmoslabs-form-field-label" for="toolbox-search-placeholder-text"><?php esc_html_e( 'Search Box Placeholder', 'profile-builder' ); ?></label>
14 + <input type="text" id="toolbox-search-placeholder-text" name="wppb_toolbox_userlisting_settings[search-placeholder-text]" value="<?php echo ( !empty( $settings['search-placeholder-text']) ? esc_attr( $settings['search-placeholder-text'] ) : '' ); ?>">
15 + <p class="cozmoslabs-description cozmoslabs-description-space-left"><?php esc_html_e( 'This refers to the placeholder text from the "{{{extra_search_all_fields}}}" tag.', 'profile-builder' ); ?></p>
16 + <p class="cozmoslabs-description cozmoslabs-description-space-left"><?php esc_html_e( 'Default text is "Search Users by All Fields", use this option to change it to something else. Leave empty if you do not want to change it.', 'profile-builder' ); ?></p>
17 + </div>
13 18
14 - <td>
15 - <input type="text" name="wppb_toolbox_userlisting_settings[search-placeholder-text]" value="<?php echo ( !empty( $settings['search-placeholder-text']) ? esc_attr( $settings['search-placeholder-text'] ) : '' ); ?>">
19 + <div class="cozmoslabs-form-field-wrapper">
20 + <label class="cozmoslabs-form-field-label" for="toolbox-modify-permalinks-single"><?php esc_html_e( 'Single Userlisting Base URL', 'profile-builder' ); ?></label>
21 + <input type="text" id="toolbox-modify-permalinks-single" name="wppb_toolbox_userlisting_settings[modify-permalinks-single]" value="<?php echo ( !empty( $settings['modify-permalinks-single']) ? esc_attr( $settings['modify-permalinks-single'] ) : '' ); ?>">
16 22
17 - <ul>
18 - <li class="description">
19 - <?php echo wp_kses_post( __( 'This refers to the placeholder text from the <strong>{{{extra_search_all_fields}}}</strong> tag.', 'profile-builder' ) ); ?>
20 - </li>
21 - <li class="description">
22 - <?php echo wp_kses_post( __( 'Default text is <strong>Search Users by All Fields</strong>, use this option to change it to something else. Leave empty if you do not want to change it.', 'profile-builder' ) ); ?>
23 - </li>
24 - </ul>
25 - </td>
26 - </tr>
23 + <p class="cozmoslabs-description cozmoslabs-description-space-left">
24 + <?php esc_html_e( 'By default Single Userlisting URLs contain the word "user".', 'profile-builder' ); ?>
25 + <br>
26 + <em><?php esc_html_e( 'eg.: ', 'profile-builder' ); echo esc_url( home_url( 'userlisting/user/123' ) ); ?></em>
27 + </p>
28 + <p class="cozmoslabs-description cozmoslabs-description-space-left"><?php esc_html_e( 'You can change the word "user" to something else. Leave empty if you do not want to change it.', 'profile-builder' ); ?></p>
29 + </div>
27 30
28 - <tr>
29 - <th><?php esc_html_e( 'Modify base URL for Single Userlisting', 'profile-builder' ); ?></th>
31 + <div class="cozmoslabs-form-field-wrapper cozmoslabs-toggle-switch">
32 + <label class="cozmoslabs-form-field-label" for="toolbox-use-nicename-single"><?php esc_html_e('Single Userlisting URLs Nicename', 'profile-builder'); ?></label>
30 33
31 - <td>
32 - <input type="text" name="wppb_toolbox_userlisting_settings[modify-permalinks-single]" value="<?php echo ( !empty( $settings['modify-permalinks-single']) ? esc_attr( $settings['modify-permalinks-single'] ) : '' ); ?>">
34 + <div class="cozmoslabs-toggle-container">
35 + <input type="checkbox" id="toolbox-use-nicename-single" name="wppb_toolbox_userlisting_settings[use-nicename-single]"<?php echo ( ( isset( $settings['use-nicename-single'] ) && ( $settings['use-nicename-single'] == 'yes' ) ) ? ' checked' : '' ); ?> value="yes">
36 + <label class="cozmoslabs-toggle-track" for="toolbox-use-nicename-single"></label>
37 + </div>
33 38
34 - <ul>
35 - <li class="description">
36 - <?php
37 - echo wp_kses_post( __( 'By default Single Userlisting URLs contain the word <strong>user</strong>. eg.: ', 'profile-builder' ) );
38 - echo esc_url( home_url( 'userlisting/user/123' ) );
39 - ?>
40 - </li>
41 - <li class="description">
42 - <?php echo wp_kses_post( __( 'Using this option, you can change the word <strong>user</strong> to something else. Leave empty if you do not want to change it.', 'profile-builder' ) ); ?>
43 - </li>
44 - </ul>
45 - </td>
46 - </tr>
39 + <div class="cozmoslabs-toggle-description">
40 + <label for="toolbox-use-nicename-single" class="cozmoslabs-description"><?php esc_html_e( 'Make the Single Userlisting URLs work with user nicename.', 'profile-builder' ); ?></label>
41 + </div>
47 42
48 - <tr>
49 - <th><?php esc_html_e( 'Make the Single Userlisting URLs work with user nicename', 'profile-builder' ); ?></th>
43 + <p class="cozmoslabs-description cozmoslabs-description-space-left">
44 + <?php esc_html_e( 'By default Single Userlisting URLs are generated using the users ID.', 'profile-builder' ); ?>
45 + <br>
46 + <em><?php esc_html_e( 'eg.: ', 'profile-builder' ); echo esc_url( home_url( 'userlisting/user/123' ) ); ?></em>
47 + </p>
48 + <p class="cozmoslabs-description cozmoslabs-description-space-left"><?php esc_html_e( 'By enabling this option the URLs will be generated using the users "nicename".', 'profile-builder' ); ?></p>
49 + </div>
50 50
51 - <td>
52 - <label><input type="checkbox" name="wppb_toolbox_userlisting_settings[use-nicename-single]"<?php echo ( ( isset( $settings['use-nicename-single'] ) && ( $settings['use-nicename-single'] == 'yes' ) ) ? ' checked' : '' ); ?> value="yes">
53 - <?php esc_html_e( 'Yes', 'profile-builder' ); ?>
54 - </label>
51 + <div class="cozmoslabs-form-field-wrapper cozmoslabs-toggle-switch">
52 + <label class="cozmoslabs-form-field-label" for="toolbox-remove-repetitions"><?php esc_html_e('Remove Faceted Menus Counters', 'profile-builder'); ?></label>
55 53
56 - <ul>
57 - <li class="description">
58 - <?php
59 - esc_html_e( 'By default Single Userlisting URLs are generated using the users ID. eg.: ', 'profile-builder' );
60 - echo esc_url( home_url( 'userlisting/user/123' ) );
61 - ?>
62 - </li>
63 - <li class="description">
64 - <?php echo wp_kses_post( __( 'With this option activated, the URLs will be generated using the users <strong>nicename</strong>.', 'profile-builder' ) ); ?>
65 - </li>
66 - </ul>
67 - </td>
68 - </tr>
54 + <div class="cozmoslabs-toggle-container">
55 + <input type="checkbox" id="toolbox-remove-repetitions" name="wppb_toolbox_userlisting_settings[remove-repetitions]"<?php echo ( ( isset( $settings['remove-repetitions'] ) && ( $settings['remove-repetitions'] == 'yes' ) ) ? ' checked' : '' ); ?> value="yes">
56 + <label class="cozmoslabs-toggle-track" for="toolbox-remove-repetitions"></label>
57 + </div>
69 58
70 - <tr>
71 - <th><?php esc_html_e( 'Remove repetition counts from Faceted Menus', 'profile-builder' ); ?></th>
59 + <div class="cozmoslabs-toggle-description">
60 + <label for="toolbox-remove-repetitions" class="cozmoslabs-description"><?php esc_html_e( 'Remove repetition counts from Faceted Menus.', 'profile-builder' ); ?></label>
61 + </div>
72 62
73 - <td>
74 - <label><input type="checkbox" name="wppb_toolbox_userlisting_settings[remove-repetitions]"<?php echo ( ( isset( $settings['remove-repetitions'] ) && ( $settings['remove-repetitions'] == 'yes' ) ) ? ' checked' : '' ); ?> value="yes">
75 - <?php esc_html_e( 'Yes', 'profile-builder' ); ?>
76 - </label>
63 + <p class="cozmoslabs-description cozmoslabs-description-space-left"><?php esc_html_e( 'The number of users that share a particular value is shown for the Select and Checkbox facet types.', 'profile-builder' ); ?></p>
64 + <p class="cozmoslabs-description cozmoslabs-description-space-left"><?php esc_html_e( 'By enabling this option the counters will be hidden.', 'profile-builder' ); ?></p>
65 + </div>
77 66
78 - <ul>
79 - <li class="description">
80 - <?php esc_html_e( 'The number of users that share a particular value is shown for the Select and Checkbox facet types.', 'profile-builder' ); ?>
81 - </li>
82 - <li class="description">
83 - <?php esc_html_e( 'If you enable this option they will be hidden.', 'profile-builder' ); ?>
84 - </li>
85 - </ul>
86 - </td>
87 - </tr>
67 + <div class="cozmoslabs-form-field-wrapper cozmoslabs-toggle-switch">
68 + <label class="cozmoslabs-form-field-label" for="toolbox-enable-map-poi-conditional-logic"><?php esc_html_e('Conditional Logic in Map POI Bubbles', 'profile-builder'); ?></label>
88 69
89 - </table>
70 + <div class="cozmoslabs-toggle-container">
71 + <input type="checkbox" id="toolbox-enable-map-poi-conditional-logic" name="wppb_toolbox_userlisting_settings[enable-map-poi-conditional-logic]"<?php echo ( ( isset( $settings['enable-map-poi-conditional-logic'] ) && ( $settings['enable-map-poi-conditional-logic'] == 'yes' ) ) ? ' checked' : '' ); ?> value="yes">
72 + <label class="cozmoslabs-toggle-track" for="toolbox-enable-map-poi-conditional-logic"></label>
73 + </div>
90 74
91 - <?php submit_button( __( 'Save Changes', 'profile-builder' ) ); ?>
75 + <div class="cozmoslabs-toggle-description">
76 + <label for="toolbox-enable-map-poi-conditional-logic" class="cozmoslabs-description"><?php esc_html_e( 'Enable the functionality.', 'profile-builder' ); ?></label>
77 + </div>
78 +
79 + <p class="cozmoslabs-description cozmoslabs-description-space-left"><?php esc_html_e( 'When enabled, the Map POI bubble will only display fields that are visible according to conditional logic.', 'profile-builder' ); ?></p>
80 + <p class="cozmoslabs-description cozmoslabs-description-space-left"><?php esc_html_e( 'By default this option is disabled.', 'profile-builder' ); ?></p>
81 + </div>
82 + </div>
83 +
84 + <div class="submit cozmoslabs-submit">
85 + <h3 class="cozmoslabs-subsection-title"><?php esc_html_e( 'Update Settings', 'profile-builder' ) ?></h3>
86 + <div class="cozmoslabs-publish-button-group">
87 + <?php submit_button( __( 'Save Changes', 'profile-builder' ) ); ?>
88 + </div>
89 + </div>
90 +
91 + </div>
92 92
93 93 </form>