PluginProbe
User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor / 3.9.8
User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor v3.9.8
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-admin.php

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

115 lines 6.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_admin_settings' );
5 ?>
6
7 <form method="post" action="options.php">
8
9 <?php settings_fields( 'wppb_toolbox_admin_settings' ); ?>
10
11 <table class="form-table">
12
13 <tr>
14 <th><?php esc_html_e( 'Allow users with the \'delete_users\' capability to view the Admin Approval list', 'profile-builder' ); ?></th>
15
16 <td>
17 <label><input type="checkbox" name="wppb_toolbox_admin_settings[admin-approval-access]"<?php echo ( ( isset( $settings['admin-approval-access'] ) && ( $settings['admin-approval-access'] == 'yes' ) ) ? ' checked' : '' ); ?> value="yes">
18 <?php esc_html_e( 'Yes', 'profile-builder' ); ?>
19 </label>
20
21 <ul>
22 <li class="description">
23 <?php esc_html_e( 'By checking this option, you will allow users that have the \'delete_users\' capability to access and use the Admin Approval list.', 'profile-builder' ); ?>
24 </li>
25 </ul>
26 </td>
27 </tr>
28
29 <tr>
30 <th><?php esc_html_e( 'Allow users with the \'delete_users\' capability to view the list of Unconfirmed Emails', 'profile-builder' ); ?></th>
31
32 <td>
33 <label><input type="checkbox" name="wppb_toolbox_admin_settings[email-confirmation-access]"<?php echo ( ( isset( $settings['email-confirmation-access'] ) && ( $settings['email-confirmation-access'] == 'yes' ) ) ? ' checked' : '' ); ?> value="yes">
34 <?php esc_html_e( 'Yes', 'profile-builder' ); ?>
35 </label>
36
37 <ul>
38 <li class="description">
39 <?php esc_html_e( 'By checking this option, you will allow users that have the \'delete_users\' capability to see the list of Unconfirmed Email Addresses.', 'profile-builder' ); ?>
40 </li>
41 </ul>
42 </td>
43 </tr>
44
45 <tr>
46 <th><?php esc_html_e( 'Disable confirmation dialog for the {{approval_url}} or {{approval_link}} Email Customizer tags', 'profile-builder' ); ?></th>
47
48 <td>
49 <label><input type="checkbox" name="wppb_toolbox_admin_settings[admin-approval-confirmation]"<?php echo ( ( isset( $settings['admin-approval-confirmation'] ) && ( $settings['admin-approval-confirmation'] == 'yes' ) ) ? ' checked' : '' ); ?> value="yes">
50 <?php esc_html_e( 'Yes', 'profile-builder' ); ?>
51 </label>
52
53 <ul>
54 <li class="description">
55 <?php echo wp_kses_post( __( 'By checking this option, you will disable the confirmation dialog, allowing you to approve new users simply by visiting the <strong>{{approval_url}}</strong> or <strong>{{approval_link}}</strong>.', 'profile-builder' ) ); ?>
56 </li>
57 </ul>
58 </td>
59 </tr>
60
61 <tr>
62 <th><?php esc_html_e( 'Multiple Admin Emails', 'profile-builder' ); ?></th>
63
64 <td>
65 <label>
66 <?php //don't remove the hidden, we need it so after save there is a value in the database for this, or else it might get set to yes becasue of the compatibility with Multiple Admin Emails addon ?>
67 <input type="hidden" name="wppb_toolbox_admin_settings[multiple-admin-emails]" value="">
68 <input type="checkbox" name="wppb_toolbox_admin_settings[multiple-admin-emails]"<?php echo ( ( isset( $settings['multiple-admin-emails'] ) && ( $settings['multiple-admin-emails'] == 'yes' ) ) ? ' checked' : '' ); ?> value="yes" class="wppb-toolbox-switch">
69 <?php esc_html_e( 'Yes', 'profile-builder' ); ?>
70 </label>
71 <ul>
72 <li class="description">
73 <?php echo esc_html_e( 'Set multiple admin e-mail addresses that will receive e-mail notifications sent by Profile Builder', 'profile-builder' ); ?>
74 </li>
75 </ul>
76
77 <div class="wppb-toolbox-accordion">
78
79 <ul class="wppb-toolbox-list">
80
81 <li class="toolbox-label">
82 <strong><?php esc_html_e( 'Admin Emails:', 'profile-builder' ); ?></strong>
83 </li>
84 <li class="wppb-toolbox-admin-emails">
85 <input class="wppb-text widefat" type="text" name="wppb_toolbox_admin_settings[admin-emails]" value="<?php echo ( ( isset( $settings['admin-emails'] ) ) ? esc_attr( $settings['admin-emails'] ) : '' ); ?>" />
86 </li>
87 <li class="description">
88 <?php echo wp_kses_post( sprintf( __( 'Add email addresses, separated by comma, for people you wish to receive notifications from Profile Builder. These addresses will overwrite the default Email Address from <a href="%s">Settings -> General</a>', 'profile-builder' ), esc_url( get_site_url() ) . "/wp-admin/options-general.php" ) ); ?>
89 </li>
90 </ul>
91
92 </div>
93 </td>
94 </tr>
95
96 <tr>
97 <th><?php esc_html_e( 'Disable Multiple User Roles', 'profile-builder' ); ?></th>
98 <td>
99 <label><input type="checkbox" name="wppb_toolbox_admin_settings[multiple-user-roles]"<?php echo ( ( isset( $settings['multiple-user-roles'] ) && ( $settings['multiple-user-roles'] == 'yes' ) ) ? ' checked' : '' ); ?> value="yes">
100 <?php esc_html_e( 'Yes', 'profile-builder' ); ?>
101 </label>
102 <ul>
103 <li class="description">
104 <?php esc_html_e( 'Activating this option will disable the ability to select multiple roles for a user.', 'profile-builder' ); ?>
105 </li>
106 </ul>
107 </td>
108 </tr>
109
110 </table>
111
112 <?php submit_button( __( 'Save Changes', 'profile-builder' ) ); ?>
113
114 </form>
115