Adds "admin" dashboard page
parent
a272294fc0
commit
4639baeef9
|
|
@ -74,6 +74,9 @@
|
|||
<a class="dropdown-item modern-dropdown-item" href="<?= htmlspecialchars($app_root) ?>?page=admin-tools">
|
||||
<i class="fas fa-toolbox"></i>Admin tools
|
||||
</a>
|
||||
<a class="dropdown-item modern-dropdown-item" href="<?= htmlspecialchars($app_root) ?>?page=admin">
|
||||
<i class="fas fa-toolbox"></i>Admin
|
||||
</a>
|
||||
<?php } ?>
|
||||
<?php if ($userObject->hasRight($userId, 'superuser') ||
|
||||
$userObject->hasRight($userId, 'view config file')) {?>
|
||||
|
|
|
|||
|
|
@ -141,7 +141,7 @@ $allowed_urls = [
|
|||
'graphs','latest','livejs','agents',
|
||||
'profile','credentials','config','security',
|
||||
'settings','theme','theme-asset',
|
||||
'admin-tools',
|
||||
'admin', 'admin-tools',
|
||||
'status',
|
||||
'help','about',
|
||||
'login','logout',
|
||||
|
|
|
|||
Loading…
Reference in New Issue