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
profile-builder / admin / advanced-settings / includes / views / view-userlisting.php

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

94 lines 7.3 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 $settings = get_option( 'wppb_toolbox_userlisting_settings' ); ?>
4
5 <form method="post" action="options.php">
6
7 <?php settings_fields( 'wppb_toolbox_userlisting_settings' ); ?>
8
9 <div class="cozmoslabs-settings-container">
10
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>
18
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'] ) : '' ); ?>">
22
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>
30
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>
33
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>
38
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>
42
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
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>
53
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>
58
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>
62
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>
66
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>
69
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>
74
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
93 </form>
94