From 221a6e8139bfc4bb2f62959eb6370eb957c22578 Mon Sep 17 00:00:00 2001 From: Yasen Pramatarov Date: Tue, 15 Apr 2025 22:43:23 +0300 Subject: [PATCH] Removes system settings entries from sidebar menu --- app/templates/page-sidebar.php | 34 ---------------------------------- 1 file changed, 34 deletions(-) diff --git a/app/templates/page-sidebar.php b/app/templates/page-sidebar.php index ab1da8a..b85ba8d 100644 --- a/app/templates/page-sidebar.php +++ b/app/templates/page-sidebar.php @@ -72,45 +72,11 @@ $timeNow = new DateTime('now', new DateTimeZone($userTimezone)); settings - -
  • system

  • - -hasRight($userId, 'view config file')) {?> - -
  • - config -
  • -
    - -hasRight($userId, 'superuser') || - $userObject->hasRight($userId, 'edit whitelist') || - $userObject->hasRight($userId, 'edit blacklist') || - $userObject->hasRight($userId, 'edit ratelimiting')) { ?> - -
  • - security -
  • -
    -
  • status
  • - -hasRight($userId, 'view app logs')) {?> - -
  • - logs -
  • -
    - - -
  • - help -
  • -
    -