PluginProbe ʕ •ᴥ•ʔ
Advanced Access Manager – Access Governance for WordPress / 5.0
Advanced Access Manager – Access Governance for WordPress v5.0
7.1.2 7.1.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 partial 8 years ago settings 8 years ago widget 8 years ago extensions.phtml 8 years ago frame.phtml 8 years ago index.phtml 8 years ago main-panel.phtml 8 years ago post-metabox.phtml 8 years ago term-metabox.phtml 8 years ago
index.phtml
288 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 few seconds. 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.', '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"><?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 Network Admin', 'b'); ?></p>
102 <p class="text-center"><a href="#" class="btn btn-sm btn-primary aam-download-extension" data-license="AAMMULTISITE"><i class="icon-download-cloud"></i> <?php echo __('Install AAM Multisite', AAM_KEY); ?></a></p>
103 </div>
104 </div>
105 </div>
106 <?php } ?>
107
108 <?php do_action('aam-sidebar-ui-action', 'top'); ?>
109
110 <div class="metabox-holder main-metabox">
111 <div class="postbox">
112 <h3 class="hndle">
113 <span><?php echo __('Users/Roles Manager', AAM_KEY); ?></span>
114 <span class="aam-help-menu" data-target="#user-role-manager-inside"><i class="icon-help-circled"></i></span>
115 </h3>
116 <div class="inside" id="user-role-manager-inside">
117 <div class="aam-postbox-inside">
118 <ul class="nav nav-tabs" role="tablist">
119 <?php if (current_user_can('aam_list_roles')) { ?>
120 <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>
121 <?php } ?>
122 <?php if (current_user_can('list_users')) { ?>
123 <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>
124 <?php } ?>
125 <?php if (current_user_can('aam_manage_visitors')) { ?>
126 <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>
127 <?php } ?>
128 <?php if (current_user_can('aam_manage_default')) { ?>
129 <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>
130 <?php } ?>
131 </ul>
132 <div class="tab-content">
133 <?php if (current_user_can('aam_list_roles')) { ?>
134 <div role="tabpanel" class="tab-pane active" id="roles">
135 <table id="role-list" class="table table-striped table-bordered">
136 <thead>
137 <tr>
138 <th>ID</th>
139 <th>Users</th>
140 <th width="65%"><?php echo __('Role', AAM_KEY); ?></th>
141 <th><?php echo __('Action', AAM_KEY); ?></th>
142 <th>Level</th>
143 <th>Expiration</th>
144 </tr>
145 </thead>
146 <tbody></tbody>
147 </table>
148
149 <div class="modal fade" id="add-role-modal" tabindex="-1" role="dialog">
150 <div class="modal-dialog modal-sm" role="document">
151 <div class="modal-content">
152 <div class="modal-header">
153 <button type="button" class="close" data-dismiss="modal" aria-label="<?php echo __('Close', AAM_KEY); ?>"><span aria-hidden="true">&times;</span></button>
154 <h4 class="modal-title"><?php echo __('Create Role', AAM_KEY); ?></h4>
155 </div>
156 <div class="modal-body">
157 <div class="form-group">
158 <label><?php echo __('Role Name', AAM_KEY); ?><span class="aam-asterix">*</span></label>
159 <input type="text" class="form-control" name="name" placeholder="<?php echo __('Enter Role Name', AAM_KEY); ?>" />
160 </div>
161 <div class="form-group">
162 <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>
163 <input type="text" class="form-control" name="expire" placeholder="<?php echo __('Enter Expiration Rule', AAM_KEY); ?>" />
164 </div>
165 <?php do_action('aam-add-role-ui-action'); ?>
166 <?php echo apply_filters('aam-add-role-ui-filter', AAM_Backend_View::getInstance()->loadPartial('role-inheritance.phtml')); ?>
167 </div>
168 <div class="modal-footer">
169 <button type="button" class="btn btn-success" id="add-role-btn"><?php echo __('Create', AAM_KEY); ?></button>
170 <button type="button" class="btn btn-default" data-dismiss="modal"><?php echo __('Close', AAM_KEY); ?></button>
171 </div>
172 </div>
173 </div>
174 </div>
175
176 <div class="modal fade" id="edit-role-modal" tabindex="-1" role="dialog">
177 <div class="modal-dialog modal-sm" role="document">
178 <div class="modal-content">
179 <div class="modal-header">
180 <button type="button" class="close" data-dismiss="modal" aria-label="<?php echo __('Close', AAM_KEY); ?>"><span aria-hidden="true">&times;</span></button>
181 <h4 class="modal-title"><?php echo __('Update Role', AAM_KEY); ?></h4>
182 </div>
183 <div class="modal-body">
184 <div class="form-group">
185 <label for="new-role-name"><?php echo __('Role Name', AAM_KEY); ?></label>
186 <input type="text" class="form-control" id="edit-role-name" placeholder="<?php echo __('Enter Role Name', AAM_KEY); ?>" name="name" />
187 </div>
188 <div class="form-group">
189 <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>
190 <input type="text" class="form-control" name="expire" id="edit-role-expiration" placeholder="<?php echo __('Enter Expiration Rule', AAM_KEY); ?>" />
191 </div>
192 <?php do_action('aam-edit-role-ui-action'); ?>
193 </div>
194 <div class="modal-footer">
195 <button type="button" class="btn btn-success" id="edit-role-btn"><?php echo __('Update', AAM_KEY); ?></button>
196 <button type="button" class="btn btn-default" data-dismiss="modal"><?php echo __('Close', AAM_KEY); ?></button>
197 </div>
198 </div>
199 </div>
200 </div>
201
202 <div class="modal fade" id="delete-role-modal" tabindex="-1" role="dialog">
203 <div class="modal-dialog modal-sm" role="document">
204 <div class="modal-content">
205 <div class="modal-header">
206 <button type="button" class="close" data-dismiss="modal" aria-label="<?php echo __('Close', AAM_KEY); ?>"><span aria-hidden="true">&times;</span></button>
207 <h4 class="modal-title"><?php echo __('Delete Role', AAM_KEY); ?></h4>
208 </div>
209 <div class="modal-body">
210 <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>
211 </div>
212 <div class="modal-footer">
213 <button type="button" class="btn btn-danger" id="delete-role-btn"><?php echo __('Delete', AAM_KEY); ?></button>
214 <button type="button" class="btn btn-default" data-dismiss="modal"><?php echo __('Close', AAM_KEY); ?></button>
215 </div>
216 </div>
217 </div>
218 </div>
219 </div>
220 <?php } ?>
221 <?php if (current_user_can('list_users')) { ?>
222 <div role="tabpanel" class="tab-pane" id="users">
223 <table id="user-list" class="table table-striped table-bordered">
224 <thead>
225 <tr>
226 <th>ID</th>
227 <th>Roles</th>
228 <th width="65%"><?php echo __('Username', AAM_KEY); ?></th>
229 <th><?php echo __('Action', AAM_KEY); ?></th>
230 <th>Level</th>
231 </tr>
232 </thead>
233 <tbody></tbody>
234 </table>
235 </div>
236 <?php } ?>
237 <?php if (current_user_can('aam_manage_visitors')) { ?>
238 <div role="tabpanel" class="tab-pane" id="visitor">
239 <div class="visitor-message">
240 <span class="aam-bordered"><?php echo __('Manage access to your website for visitors (any user that is not authenticated)', AAM_KEY); ?>.</span>
241 <button class="btn btn-primary btn-block" id="manage-visitor"><i class="icon-cog"></i> <?php echo __('Manage Visitors', AAM_KEY); ?></button>
242 </div>
243 </div>
244 <?php } ?>
245 <?php if (current_user_can('aam_manage_default')) { ?>
246 <div role="tabpanel" class="tab-pane" id="default">
247 <div class="visitor-message">
248 <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>
249 <button class="btn btn-danger btn-block" id="manage-default"><i class="icon-cog"></i> <?php echo __('Manage Default Access', AAM_KEY); ?></button>
250 </div>
251 </div>
252 <?php } ?>
253 </div>
254 </div>
255 <div class="aam-help-context">
256 <p class="aam-info aam-hint">
257 <?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'); ?>
258 </p>
259
260 <p class="text-justify">
261 <strong><i class="icon-users"></i> <?php echo __('Roles', AAM_KEY); ?></strong><br/>
262 <?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); ?>
263 </p>
264
265 <p class="text-justify">
266 <strong><i class="icon-user"></i> <?php echo __('Users', AAM_KEY); ?></strong><br/>
267 <?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); ?>
268 </p>
269
270 <p class="text-justify">
271 <strong><i class="icon-user-secret"></i> <?php echo __('Visitor', AAM_KEY); ?></strong><br/>
272 <?php echo __('Visitor can be considered any user that is not authenticated to your website.', AAM_KEY); ?>
273 </p>
274
275 <p class="text-justify">
276 <strong><i class="icon-asterisk"></i> <?php echo __('Default', AAM_KEY); ?></strong><br/>
277 <?php echo __('Manage default access settings to your website resources for all users, roles and visitors.', AAM_KEY); ?>
278 </p>
279 </div>
280 </div>
281 </div>
282 </div>
283
284 <?php do_action('aam-sidebar-ui-action', 'bottom'); ?>
285 </div>
286 </div>
287 </div>
288 <?php }