From 4639baeef9e542144704d94384d817f7d2160c68 Mon Sep 17 00:00:00 2001 From: Yasen Pramatarov Date: Sun, 21 Dec 2025 11:05:39 +0200 Subject: [PATCH] Adds "admin" dashboard page --- app/templates/page-menu.php | 3 +++ public_html/index.php | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/templates/page-menu.php b/app/templates/page-menu.php index dc9776e..68b6819 100644 --- a/app/templates/page-menu.php +++ b/app/templates/page-menu.php @@ -74,6 +74,9 @@ Admin tools + + Admin + hasRight($userId, 'superuser') || $userObject->hasRight($userId, 'view config file')) {?> diff --git a/public_html/index.php b/public_html/index.php index 47d9561..98c5e78 100644 --- a/public_html/index.php +++ b/public_html/index.php @@ -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',