PluginProbe ʕ •ᴥ•ʔ
Advanced Access Manager – Access Governance for WordPress / 5.3
Advanced Access Manager – Access Governance for WordPress v5.3
6.8.4 6.8.5 6.9.0 6.9.1 6.9.10 6.9.11 6.9.12 6.9.13 6.9.14 6.9.15 6.9.16 6.9.17 6.9.18 6.9.19 6.9.2 6.9.20 6.9.21 6.9.22 6.9.23 6.9.24 6.9.25 6.9.26 6.9.27 6.9.28 6.9.29 6.9.3 6.9.30 6.9.31 6.9.32 6.9.33 6.9.34 6.9.35 6.9.36 6.9.37 6.9.38 6.9.39 6.9.4 6.9.41 6.9.42 6.9.43 6.9.44 6.9.45 6.9.46 6.9.47 6.9.48 6.9.49 6.9.5 6.9.51 6.9.6 6.9.7 6.9.8 6.9.9 7.0.0 7.0.0-alpha.6 7.0.0-alpha.7 7.0.0-beta.1 7.0.0-rc1 7.0.0-rc2 7.0.0-rc3 7.0.1 7.0.10 7.0.11 7.0.2 7.0.3 7.0.4 7.0.5 7.0.6 7.0.7 7.0.8 7.0.9 7.1.0 7.1.1 trunk 3.0 4.0 4.0.1 4.1 4.2 4.3 4.4 4.4.1 4.5 4.6 4.6.1 4.6.2 4.7 4.7.1 4.7.2 4.7.5 4.7.6 4.8 4.8.1 4.9 4.9.1 4.9.2 4.9.3 4.9.4 4.9.5 4.9.5.1 4.9.5.2 5.0 5.0.1 5.0.2 5.0.3 5.0.4 5.0.5 5.0.6 5.0.7 5.0.8 5.1 5.1.1 5.10 5.11 5.2 5.2.1 5.2.5 5.2.6 5.2.7 5.3 5.3.1 5.3.2 5.3.3 5.3.4 5.3.5 5.4 5.4.1 5.4.2 5.4.3 5.4.3.1 5.4.3.2 5.5 5.5.1 5.5.2 5.6 5.6.1 5.6.1.1 5.7 5.7.1 5.7.2 5.7.3 5.8 5.8.1 5.8.2 5.8.3 5.9 5.9.1 5.9.1.1 5.9.2 5.9.2.1 5.9.3 5.9.4 5.9.5 5.9.6 5.9.6.1 5.9.6.2 5.9.6.3 5.9.7 5.9.7.1 5.9.7.2 5.9.7.3 5.9.8 5.9.8.1 5.9.9 5.9.9.1 6.0.0 6.0.1 6.0.2 6.0.3 6.0.4 6.0.5 6.1.0 6.1.1 6.2.0 6.2.1 6.2.2 6.3.0 6.3.1 6.3.2 6.3.3 6.4.0 6.4.1 6.4.2 6.4.3 6.5.0 6.5.1 6.5.2 6.5.3 6.5.4 6.6.0 6.6.1 6.6.2 6.6.3 6.6.4 6.7.0 6.7.1 6.7.2 6.7.3 6.7.4 6.7.5 6.7.6 6.7.7 6.7.8 6.7.9 6.8.0 6.8.1 6.8.2 6.8.3
advanced-access-manager / Application / Backend / phtml / index.phtml
advanced-access-manager / Application / Backend / phtml Last commit date
main 8 years ago metabox 8 years ago partial 8 years ago settings 8 years ago widget 8 years ago extensions.phtml 8 years ago index.phtml 8 years ago main-panel.phtml 8 years ago
index.phtml
325 lines
1 <?php if (defined('AAM_KEY')) { ?>
2 <div class="wrap" id="aam-container">
3 <div class="row" id="aam-subject-banner">
4 <div class="col-xs-12 col-md-8">
5 <div class="aam-current-subject"></div>
6 </div>
7 </div>
8
9 <div class="row">
10 <div class="col-xs-12 col-md-8">
11 <div class="metabox-holder">
12 <div class="postbox">
13 <h3 class="hndle">
14 <span><?php echo __('Main Panel', AAM_KEY); ?></span>
15 <span class="aam-help-menu" data-target="#access-manager-inside"><i class="icon-help-circled"></i></span>
16 </h3>
17 <div class="inside" id="access-manager-inside">
18 <div class="aam-postbox-inside" id="aam-content">
19 <p class="alert alert-info text-larger text-center" id="aam-initial-load"><?php echo AAM_Backend_View_Helper::preparePhrase('[Loading AAM UI]. Please wait. If content will not load within next 30 seconds, clear your browser cache and reload the page. If still nothing, it is most likely some sort of JavaScript or CSS conflict with one your active plugins or theme. Try to deactivate all plugins and switch to any default WordPress theme to find out what causes the issue.', 'strong'); ?></p>
20 </div>
21 <div class="aam-help-context" >
22 <div class="text-justify aam-large-padding">
23 <p class="text-larger"><?php echo __('Appreciate your interest in Advanced Access Manager (AAM). With strong knowledge and experience in WordPress, AAM becomes a very powerful tool to manage access to your frontend and backend.', AAM_KEY); ?></p>
24 <p class="text-larger"><span class="aam-highlight"><?php echo __('Please Note!', AAM_KEY); ?></span> <?php echo AAM_Backend_View_Helper::preparePhrase('Power comes with responsibility. Make sure you have enough knowledge in WordPress Roles & Capabilities because AAM is very closely intergrated with WordPress core. It is also very important [to have backup of your database before you start working with AAM] (there is no need to backup your files, AAM does not modify any physical files on your server and never did).', 'b'); ?></p>
25 <p class="text-larger"><?php echo __('AAM was thoroughly tested on the fresh installation of WordPress and in the latest versions of Chrome, Safari, IE and Firefox. If you have any issues, the most typical case is the conflict with other plugins or themes.', AAM_KEY); ?></p>
26 <p class="text-larger"><?php echo sprintf(__('Check our %sHelp%s section to find some useful articles about AAM functionality or %scontact us%s directly.', AAM_KEY), '<a href="https://aamplugin.com/help" target="_blank">', '</a>', '<a href="mailto:support@aamplugin.com">', '</a>'); ?></p>
27 </div>
28 </div>
29 </div>
30 </div>
31 </div>
32 </div>
33
34 <div class="col-xs-12 col-md-4 aam-sidebar">
35 <?php if (AAM_Core_Console::count() && current_user_can('aam_show_notifications')) { ?>
36 <div class="metabox-holder shared-metabox">
37 <div class="postbox">
38 <h3 class="hndle text-danger">
39 <i class='icon-attention-circled'></i> <span><?php echo __('Notifications', AAM_KEY); ?></span>
40 </h3>
41 <div class="inside">
42 <div class="aam-postbox-inside">
43 <ul class="aam-error-list">
44 <?php foreach (AAM_Core_Console::getAll() as $message) { ?>
45 <li><?php echo $message; ?></li>
46 <?php } ?>
47 </ul>
48 </div>
49 </div>
50 </div>
51 </div>
52 <?php } ?>
53
54 <div class="metabox-holder shared-metabox">
55 <div class="postbox">
56 <div class="inside">
57 <div class="aam-social">
58 <a href="#" title="Access" data-type="main" class="aam-area text-danger">
59 <i class="icon-cog-alt"></i>
60 <span>Access</span>
61 </a>
62 <?php if (current_user_can('aam_manage_settings')) { ?>
63 <a href="#" title="Settings" data-type="settings" class="aam-area">
64 <i class="icon-wrench"></i>
65 <span>Settings</span>
66 </a>
67 <?php } ?>
68 <?php if (current_user_can('aam_manage_extensions')) { ?>
69 <a href="#" title="Extensions" data-type="extensions" class="aam-area">
70 <i class="icon-cubes"></i>
71 <span>Extensions</span>
72 </a>
73 <?php } ?>
74 <a href="https://aamplugin.com/help" title="Help" target="_blank">
75 <i class="icon-help-circled"></i>
76 <span>Help</span>
77 </a>
78 </div>
79 </div>
80 </div>
81 </div>
82
83 <div class="metabox-holder extensions-metabox" style="display:none;">
84 <div class="postbox">
85 <div class="inside">
86 <div class="aam-postbox-inside text-center">
87 <p class="alert alert-info text-larger highlighted-italic"><?php echo AAM_Backend_View_Helper::preparePhrase('The [Development Package] allows you to get all premium extensions for [unlimited number of websites].', 'i', 'b'); ?></p>
88 <a href="https://aamplugin.com/development-package" target="_blank" class="btn btn-sm btn-primary btn-block"><i class="icon-link"></i> <?php echo __('Read More', AAM_KEY); ?></a>
89 </div>
90 </div>
91 </div>
92 </div>
93
94 <?php if (is_network_admin() && !defined('AAM_MULTISITE')) { ?>
95 <div class="metabox-holder main-metabox">
96 <div class="postbox">
97 <h3 class="hndle text-warning">
98 <i class='icon-attention-circled'></i> <span><?php echo __('AAM Multisite', AAM_KEY); ?></span>
99 </h3>
100 <div class="inside">
101 <p class="aam-info"><?php echo AAM_Backend_View_Helper::preparePhrase('Install free [AAM Multisite extension] in order to manage all your sites from the Network Admin.', 'b'); ?></p>
102 </div>
103 </div>
104 </div>
105 <?php } ?>
106
107 <?php do_action('aam-sidebar-ui-action', 'top'); ?>
108
109 <div class="metabox-holder main-metabox">
110 <div class="postbox">
111 <h3 class="hndle">
112 <span><?php echo __('Users/Roles Manager', AAM_KEY); ?></span>
113 <span class="aam-help-menu" data-target="#user-role-manager-inside"><i class="icon-help-circled"></i></span>
114 </h3>
115 <div class="inside" id="user-role-manager-inside">
116 <div class="aam-postbox-inside">
117 <ul class="nav nav-tabs" role="tablist">
118 <?php if (current_user_can('aam_list_roles')) { ?>
119 <li role="presentation" class="active text-center"><a href="#roles" aria-controls="roles" role="tab" data-toggle="tab"><i class="icon-users"></i><br/><?php echo __('Roles', AAM_KEY); ?></a></li>
120 <?php } ?>
121 <?php if (current_user_can('list_users')) { ?>
122 <li role="presentation" class="text-center"><a href="#users" aria-controls="users" role="tab" data-toggle="tab"><i class="icon-user"></i><br/><?php echo __('Users', AAM_KEY); ?></a></li>
123 <?php } ?>
124 <?php if (current_user_can('aam_manage_visitors')) { ?>
125 <li role="presentation" class="text-center"><a href="#visitor" aria-controls="visitor" role="tab" data-toggle="tab"><i class="icon-user-secret"></i><br/><?php echo __('Visitor', AAM_KEY); ?></a></li>
126 <?php } ?>
127 <?php if (current_user_can('aam_manage_default')) { ?>
128 <li role="presentation" class="text-center"><a href="#default" aria-controls="default" role="tab" data-toggle="tab" class="text-danger"><i class="icon-asterisk"></i><br/><?php echo __('Default', AAM_KEY); ?></a></li>
129 <?php } ?>
130 </ul>
131 <div class="tab-content">
132 <?php if (current_user_can('aam_list_roles')) { ?>
133 <div role="tabpanel" class="tab-pane active" id="roles">
134 <table id="role-list" class="table table-striped table-bordered">
135 <thead>
136 <tr>
137 <th>ID</th>
138 <th>Users</th>
139 <th width="65%"><?php echo __('Role', AAM_KEY); ?></th>
140 <th><?php echo __('Action', AAM_KEY); ?></th>
141 <th>Level</th>
142 <th>Expiration</th>
143 </tr>
144 </thead>
145 <tbody></tbody>
146 </table>
147
148 <div class="modal fade" id="add-role-modal" tabindex="-1" role="dialog">
149 <div class="modal-dialog modal-sm" role="document">
150 <div class="modal-content">
151 <div class="modal-header">
152 <button type="button" class="close" data-dismiss="modal" aria-label="<?php echo __('Close', AAM_KEY); ?>"><span aria-hidden="true">&times;</span></button>
153 <h4 class="modal-title"><?php echo __('Create Role', AAM_KEY); ?></h4>
154 </div>
155 <div class="modal-body">
156 <div class="form-group">
157 <label><?php echo __('Role Name', AAM_KEY); ?><span class="aam-asterix">*</span></label>
158 <input type="text" class="form-control" name="name" placeholder="<?php echo __('Enter Role Name', AAM_KEY); ?>" />
159 </div>
160 <div class="form-group">
161 <label><?php echo __('Role Expiration', AAM_KEY); ?> <a href="https://aamplugin.com/help/how-to-manage-wordpress-roles" target="_blank" data-toggle="tooltip" title="For how long user can have this role. Click to learn more."><i class="icon-help-circled"></i></a></label>
162 <input type="text" class="form-control" name="expire" placeholder="<?php echo __('Enter Expiration Rule', AAM_KEY); ?>" />
163 </div>
164 <?php do_action('aam-add-role-ui-action'); ?>
165 <?php echo apply_filters('aam-add-role-ui-filter', AAM_Backend_View::getInstance()->loadPartial('role-inheritance.phtml')); ?>
166 </div>
167 <div class="modal-footer">
168 <button type="button" class="btn btn-success" id="add-role-btn"><?php echo __('Create', AAM_KEY); ?></button>
169 <button type="button" class="btn btn-default" data-dismiss="modal"><?php echo __('Close', AAM_KEY); ?></button>
170 </div>
171 </div>
172 </div>
173 </div>
174
175 <div class="modal fade" id="edit-role-modal" tabindex="-1" role="dialog">
176 <div class="modal-dialog modal-sm" role="document">
177 <div class="modal-content">
178 <div class="modal-header">
179 <button type="button" class="close" data-dismiss="modal" aria-label="<?php echo __('Close', AAM_KEY); ?>"><span aria-hidden="true">&times;</span></button>
180 <h4 class="modal-title"><?php echo __('Update Role', AAM_KEY); ?></h4>
181 </div>
182 <div class="modal-body">
183 <div class="form-group">
184 <label for="new-role-name"><?php echo __('Role Name', AAM_KEY); ?></label>
185 <input type="text" class="form-control" id="edit-role-name" placeholder="<?php echo __('Enter Role Name', AAM_KEY); ?>" name="name" />
186 </div>
187 <div class="form-group">
188 <label><?php echo __('Role Expiration', AAM_KEY); ?> <a href="https://aamplugin.com/help/how-to-manage-wordpress-roles" target="_blank" data-toggle="tooltip" title="For how long user can have this role. Click to learn more."><i class="icon-help-circled"></i></a></label>
189 <input type="text" class="form-control" name="expire" id="edit-role-expiration" placeholder="<?php echo __('Enter Expiration Rule', AAM_KEY); ?>" />
190 </div>
191 <?php do_action('aam-edit-role-ui-action'); ?>
192 </div>
193 <div class="modal-footer">
194 <button type="button" class="btn btn-success" id="edit-role-btn"><?php echo __('Update', AAM_KEY); ?></button>
195 <button type="button" class="btn btn-default" data-dismiss="modal"><?php echo __('Close', AAM_KEY); ?></button>
196 </div>
197 </div>
198 </div>
199 </div>
200
201 <div class="modal fade" id="delete-role-modal" tabindex="-1" role="dialog">
202 <div class="modal-dialog modal-sm" role="document">
203 <div class="modal-content">
204 <div class="modal-header">
205 <button type="button" class="close" data-dismiss="modal" aria-label="<?php echo __('Close', AAM_KEY); ?>"><span aria-hidden="true">&times;</span></button>
206 <h4 class="modal-title"><?php echo __('Delete Role', AAM_KEY); ?></h4>
207 </div>
208 <div class="modal-body">
209 <p class="text-center aam-confirm-message alert alert-danger" data-message="<?php echo __('Are you sure that you want to delete the %s role?', AAM_KEY); ?>"></p>
210 </div>
211 <div class="modal-footer">
212 <button type="button" class="btn btn-danger" id="delete-role-btn"><?php echo __('Delete', AAM_KEY); ?></button>
213 <button type="button" class="btn btn-default" data-dismiss="modal"><?php echo __('Close', AAM_KEY); ?></button>
214 </div>
215 </div>
216 </div>
217 </div>
218 </div>
219 <?php } ?>
220 <?php if (current_user_can('list_users')) { ?>
221 <div role="tabpanel" class="tab-pane" id="users">
222 <table id="user-list" class="table table-striped table-bordered">
223 <thead>
224 <tr>
225 <th>ID</th>
226 <th>Roles</th>
227 <th width="60%"><?php echo __('Username', AAM_KEY); ?></th>
228 <th><?php echo __('Action', AAM_KEY); ?></th>
229 <th>Level</th>
230 <th>Expiration</th>
231 </tr>
232 </thead>
233 <tbody></tbody>
234 </table>
235
236 <div class="modal fade" id="edit-user-expiration-modal" tabindex="-1" role="dialog">
237 <div class="modal-dialog modal-sm" role="document">
238 <div class="modal-content">
239 <div class="modal-header">
240 <button type="button" class="close" data-dismiss="modal" aria-label="<?php echo __('Close', AAM_KEY); ?>"><span aria-hidden="true">&times;</span></button>
241 <h4 class="modal-title"><?php echo __('Manage User Expiration', AAM_KEY); ?></h4>
242 </div>
243 <div class="modal-body">
244 <div class="form-group">
245 <label for="user-expires"><?php echo __('Expires', AAM_KEY); ?> <a href="https://aamplugin.com/help/how-to-create-temporary-wordpress-user-account" target="_blank" data-toggle="tooltip" title="For how long the user can stay active. Click to learn more."><i class="icon-help-circled"></i></a></label>
246 <input type="text" class="form-control" id="user-expires" placeholder="<?php echo __('Enter Expiration', AAM_KEY); ?>" />
247 </div>
248 <div class="form-group">
249 <label><?php echo __('Action After Expiration', AAM_KEY); ?> </label>
250 <select class="form-control" id="action-after-expiration">
251 <option value=""><?php echo __('Select Action', AAM_KEY); ?></option>
252 <option value="delete"><?php echo __('Delete Account', AAM_KEY); ?></option>
253 <option value="lock"><?php echo __('Lock Account', AAM_KEY); ?></option>
254 <option value="change-role"><?php echo __('Change User Role', AAM_KEY); ?></option>
255 </select>
256 </div>
257 <div class="form-group hidden" id="expiration-change-role-holder">
258 <label><?php echo __('Change To Role', AAM_KEY); ?></label>
259 <select class="form-control" id="expiration-change-role">
260 <option value=""><?php echo __('Select Role', AAM_KEY); ?></option>
261 </select>
262 </div>
263 </div>
264 <div class="modal-footer">
265 <button type="button" class="btn btn-warning hidden" id="reset-user-expiration-btn"><?php echo __('Reset', AAM_KEY); ?></button>
266 <button type="button" class="btn btn-success" id="edit-user-expiration-btn"><?php echo __('Save', AAM_KEY); ?></button>
267 <button type="button" class="btn btn-default" data-dismiss="modal"><?php echo __('Close', AAM_KEY); ?></button>
268 </div>
269 </div>
270 </div>
271 </div>
272 </div>
273 <?php } ?>
274 <?php if (current_user_can('aam_manage_visitors')) { ?>
275 <div role="tabpanel" class="tab-pane" id="visitor">
276 <div class="visitor-message">
277 <span class="aam-bordered"><?php echo __('Manage access to your website for visitors (any user that is not authenticated)', AAM_KEY); ?>.</span>
278 <button class="btn btn-primary btn-block" id="manage-visitor"><i class="icon-cog"></i> <?php echo __('Manage Visitors', AAM_KEY); ?></button>
279 </div>
280 </div>
281 <?php } ?>
282 <?php if (current_user_can('aam_manage_default')) { ?>
283 <div role="tabpanel" class="tab-pane" id="default">
284 <div class="visitor-message">
285 <span class="aam-bordered"><?php echo __('Manage default access to your website resources for all users, roles and visitor. This includes Administrator role and your user', AAM_KEY); ?>.</span>
286 <button class="btn btn-danger btn-block" id="manage-default"><i class="icon-cog"></i> <?php echo __('Manage Default Access', AAM_KEY); ?></button>
287 </div>
288 </div>
289 <?php } ?>
290 </div>
291 </div>
292 <div class="aam-help-context">
293 <p class="aam-info aam-hint">
294 <?php echo AAM_Backend_View_Helper::preparePhrase('Manage access for your users, roles and visitors. Be careful with [Administrator] role as well as your admin user. [Database backup is strongly recommended].', 'b', 'b'); ?>
295 </p>
296
297 <p class="text-justify">
298 <strong><i class="icon-users"></i> <?php echo __('Roles', AAM_KEY); ?></strong><br/>
299 <?php echo __('With Roles tab you can manage access for any defined role, edit role\'s name, create new role or even delete existing (but only when there is no users assigned to it). You are not allowed to delete Administrator role.', AAM_KEY); ?>
300 </p>
301
302 <p class="text-justify">
303 <strong><i class="icon-user"></i> <?php echo __('Users', AAM_KEY); ?></strong><br/>
304 <?php echo __('Manage access for any user. As a bonus feature, you can block user. It means that user will be not able to login to your website anymore.', AAM_KEY); ?>
305 </p>
306
307 <p class="text-justify">
308 <strong><i class="icon-user-secret"></i> <?php echo __('Visitor', AAM_KEY); ?></strong><br/>
309 <?php echo __('Visitor can be considered any user that is not authenticated to your website.', AAM_KEY); ?>
310 </p>
311
312 <p class="text-justify">
313 <strong><i class="icon-asterisk"></i> <?php echo __('Default', AAM_KEY); ?></strong><br/>
314 <?php echo __('Manage default access settings to your website resources for all users, roles and visitors.', AAM_KEY); ?>
315 </p>
316 </div>
317 </div>
318 </div>
319 </div>
320
321 <?php do_action('aam-sidebar-ui-action', 'bottom'); ?>
322 </div>
323 </div>
324 </div>
325 <?php }