PluginProbe
User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor / 3.9.9
User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor v3.9.9
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 3.9.9, at admin/advanced-settings/includes/views/view-userlisting.php

69 lines 5.2 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-form-subsection-wrapper cozmoslabs-no-title-section">
10 <div class="cozmoslabs-form-field-wrapper">
11 <label class="cozmoslabs-form-field-label" for="toolbox-search-placeholder-text"><?php esc_html_e( 'Search Box Placeholder', 'profile-builder' ); ?></label>
12 <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'] ) : '' ); ?>">
13 <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>
14 <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>
15 </div>
16
17 <div class="cozmoslabs-form-field-wrapper">
18 <label class="cozmoslabs-form-field-label" for="toolbox-modify-permalinks-single"><?php esc_html_e( 'Single Userlisting Base URL', 'profile-builder' ); ?></label>
19 <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'] ) : '' ); ?>">
20
21 <p class="cozmoslabs-description cozmoslabs-description-space-left">
22 <?php esc_html_e( 'By default Single Userlisting URLs contain the word "user".', 'profile-builder' ); ?>
23 <br>
24 <em><?php esc_html_e( 'eg.: ', 'profile-builder' ); echo esc_url( home_url( 'userlisting/user/123' ) ); ?></em>
25 </p>
26 <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>
27 </div>
28
29 <div class="cozmoslabs-form-field-wrapper cozmoslabs-toggle-switch">
30 <label class="cozmoslabs-form-field-label" for="toolbox-use-nicename-single"><?php esc_html_e('Single Userlisting URLs Nicename', 'profile-builder'); ?></label>
31
32 <div class="cozmoslabs-toggle-container">
33 <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">
34 <label class="cozmoslabs-toggle-track" for="toolbox-use-nicename-single"></label>
35 </div>
36
37 <div class="cozmoslabs-toggle-description">
38 <p class="cozmoslabs-description"><?php esc_html_e( 'Make the Single Userlisting URLs work with user nicename.', 'profile-builder' ); ?></p>
39 </div>
40
41 <p class="cozmoslabs-description cozmoslabs-description-space-left">
42 <?php esc_html_e( 'By default Single Userlisting URLs are generated using the users ID.', 'profile-builder' ); ?>
43 <br>
44 <em><?php esc_html_e( 'eg.: ', 'profile-builder' ); echo esc_url( home_url( 'userlisting/user/123' ) ); ?></em>
45 </p>
46 <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>
47 </div>
48
49 <div class="cozmoslabs-form-field-wrapper cozmoslabs-toggle-switch">
50 <label class="cozmoslabs-form-field-label" for="toolbox-remove-repetitions"><?php esc_html_e('Remove Faceted Menus Counters', 'profile-builder'); ?></label>
51
52 <div class="cozmoslabs-toggle-container">
53 <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">
54 <label class="cozmoslabs-toggle-track" for="toolbox-remove-repetitions"></label>
55 </div>
56
57 <div class="cozmoslabs-toggle-description">
58 <p class="cozmoslabs-description"><?php esc_html_e( 'Remove repetition counts from Faceted Menus.', 'profile-builder' ); ?></p>
59 </div>
60
61 <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>
62 <p class="cozmoslabs-description cozmoslabs-description-space-left"><?php esc_html_e( 'By enabling this option the counters will be hidden.', 'profile-builder' ); ?></p>
63 </div>
64 </div>
65
66 <?php submit_button( __( 'Save Changes', 'profile-builder' ) ); ?>
67
68 </form>
69