diff options
author | RaindropsSys <contact@minteck.org> | 2023-03-21 16:21:21 +0100 |
---|---|---|
committer | RaindropsSys <contact@minteck.org> | 2023-03-21 16:21:21 +0100 |
commit | 475c5731bf3362b6ac8d2dc5d5b43e4b4a6117bd (patch) | |
tree | 2cff46debf9c1e13892e7babff9deb6874ecb4b2 /includes/components/navigation.inc | |
parent | 7ccc2de87f9e25c715dc09b9aba4eb5c66f80424 (diff) | |
download | pluralconnect-475c5731bf3362b6ac8d2dc5d5b43e4b4a6117bd.tar.gz pluralconnect-475c5731bf3362b6ac8d2dc5d5b43e4b4a6117bd.tar.bz2 pluralconnect-475c5731bf3362b6ac8d2dc5d5b43e4b4a6117bd.zip |
Updated 26 files and added 1074 files (automated)
Diffstat (limited to 'includes/components/navigation.inc')
-rw-r--r-- | includes/components/navigation.inc | 34 |
1 files changed, 29 insertions, 5 deletions
diff --git a/includes/components/navigation.inc b/includes/components/navigation.inc index beb92bb..bd4ea4b 100644 --- a/includes/components/navigation.inc +++ b/includes/components/navigation.inc @@ -4,10 +4,10 @@ $pages = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/pa global $navigation; global $toplevel; -global $lang; global $pages; global $app; +global $lang; global $pages; global $app; global $isLowerLoggedIn; $navigation_admin = [ - "admin" => true, + "admin" => !$isLowerLoggedIn, "name" => "Private utilities", "icon" => "/assets/icons/admin.svg", "invert" => true, @@ -21,7 +21,7 @@ $navigation_admin = [ "icon" => "/assets/icons/emergency.svg", "invert" => false, "link" => "/-/emergency", - "stepped" => "rgb(220,53,69)", + "stepped" => null, "private" => false ], [ @@ -29,7 +29,15 @@ $navigation_admin = [ "icon" => "/assets/icons/wakeup.svg", "invert" => false, "link" => "/-/wakeup", - "stepped" => "rgb(13,202,240)", + "stepped" => null, + "private" => true + ], + [ + "name" => $pages["pleasure"]["name"][$lang["_name"]], + "icon" => "/assets/icons/pleasure.svg", + "invert" => false, + "link" => "/-/pleasure", + "stepped" => null, "private" => false ] ] @@ -63,6 +71,14 @@ $navigation_admin = [ "private" => true ], [ + "name" => $pages["schedules"]["name"][$lang["_name"]], + "icon" => "/assets/icons/schedules.svg", + "invert" => true, + "link" => "/-/schedules", + "stepped" => null, + "private" => false + ], + [ "name" => $pages["rules"]["name"][$lang["_name"]], "icon" => "/assets/icons/rules.svg", "invert" => true, @@ -71,6 +87,14 @@ $navigation_admin = [ "private" => true ], [ + "name" => $pages["toys"]["name"][$lang["_name"]], + "icon" => "/assets/icons/toys.svg", + "invert" => true, + "link" => "/-/toys", + "stepped" => null, + "private" => true + ], + [ "name" => $pages["docs"]["name"][$lang["_name"]], "icon" => "/assets/icons/docs.svg", "invert" => true, @@ -279,7 +303,7 @@ $navigation_cloudburst = [ ] ]; $navigation_other = [ - "admin" => true, + "admin" => !$isLowerLoggedIn, "name" => $app["other"]["name"], "icon" => getAsset($app["other"]["id"]), "invert" => false, |