From d4ec482e69c31454b3b39b7ae913ba480e918421 Mon Sep 17 00:00:00 2001 From: RaindropsSys Date: Mon, 10 Apr 2023 13:31:57 +0200 Subject: Updated 3 files and deleted pages/api/menu.php (automated) --- pages/api/menu.php | 169 ---------------------------------------------------- pages/byfront.inc | 5 +- pages/computers.inc | 4 +- 3 files changed, 6 insertions(+), 172 deletions(-) delete mode 100644 pages/api/menu.php (limited to 'pages') diff --git a/pages/api/menu.php b/pages/api/menu.php deleted file mode 100644 index 56e5b88..0000000 --- a/pages/api/menu.php +++ /dev/null @@ -1,169 +0,0 @@ - "Cold Haze", - "items" => [ - [ - "title" => "Emergency alert", - "link" => "coldhaze://-/emergency", - "show" => $available["coldHaze"], - "icon" => "icons://emergency" - ], - [ - "title" => "Front planner", - "link" => "coldhaze://-/fronting", - "show" => $available["coldHaze"], - "icon" => "icons://planner" - ], - [ - "title" => "Profile scores", - "link" => "coldhaze://-/profiles", - "show" => $available["coldHaze"], - "icon" => "icons://scores" - ], - [ - "title" => "Money tracker", - "link" => "coldhaze://-/money", - "show" => $available["coldHaze"] && $isLoggedIn, - "icon" => "icons://money" - ], - [ - "title" => "Address book", - "link" => "coldhaze://-/contacts", - "show" => $available["coldHaze"] && $isLoggedIn, - "icon" => "icons://contacts" - ], - [ - "title" => "Schedules", - "link" => "coldhaze://-/schedules", - "show" => $available["coldHaze"], - "icon" => "icons://schedules" - ], - [ - "title" => "Rules", - "link" => "coldhaze://-/rules", - "show" => $available["coldHaze"] && $isLoggedIn, - "icon" => "icons://rules" - ], - [ - "title" => "Toys database", - "link" => "coldhaze://-/toys", - "show" => $available["coldHaze"] && $isLoggedIn && $isSexual, - "icon" => "icons://toys" - ], - [ - "title" => "Documents", - "link" => "coldhaze://-/docs", - "show" => $available["coldHaze"] && $isLoggedIn, - "icon" => "icons://documents" - ], - [ - "title" => "Devices", - "link" => "coldhaze://-/computers", - "show" => $available["coldHaze"] && $isLoggedIn, - "icon" => "icons://computers" - ], - [ - "title" => "System travelling", - "link" => "coldhaze://-/travelling", - "show" => $available["coldHaze"], - "icon" => "icons://travelling" - ] - ] - ], - [ - "title" => "Other apps", - "items" => [ - [ - "title" => "Ponycon.info", - "link" => "ponycon://", - "show" => $available["ponycon"], - "icon" => "icons://ponycon" - ], - [ - "title" => "Delta", - "link" => "delta://", - "show" => $available["delta"], - "icon" => "icons://delta" - ], - [ - "title" => "Gitea", - "link" => "gitea://equestria.dev", - "show" => $available["gitea"], - "icon" => "icons://gitea" - ], - [ - "title" => "JetBrains Hub", - "link" => "hub://hub/projects", - "show" => true, - "icon" => "icons://hub" - ], - [ - "title" => "YouTrack", - "link" => "youtrack://", - "show" => $available["youtrack"], - "icon" => "icons://youtrack" - ], - [ - "title" => "Plex", - "link" => "https://plex.equestria.dev", - "show" => true, - "icon" => "icons://plex" - ], - [ - "title" => "Proxmox", - "link" => "https://admin.equestria.dev", - "show" => true, - "icon" => "icons://proxmox" - ] - ] - ], - [ - "title" => "Booru", - "items" => [ - [ - "title" => "Home", - "link" => "booru://home/", - "show" => $available["booru"], - "icon" => "icons://home" - ], - [ - "title" => "Search", - "link" => "booru://search/", - "show" => $available["booru"], - "icon" => "icons://search" - ], - [ - "title" => "Followed tags", - "link" => "booru://followed/", - "show" => $available["booru"], - "icon" => "icons://followed" - ], - [ - "title" => "Saved images", - "link" => "booru://saved/", - "show" => $available["booru"], - "icon" => "icons://saved" - ], - [ - "title" => "Explicit gallery", - "link" => "booru://nsfw/g/", - "show" => $available["booru"] && $isSexual, - "icon" => "icons://nsfw" - ], - [ - "title" => "Genitalia", - "link" => "booru://nsfw/sp2/", - "show" => $available["booru"] && $isSexual, - "icon" => "https://booru.equestria.dev/nsfw/icon/" - ] - ] - ] -])); \ No newline at end of file diff --git a/pages/byfront.inc b/pages/byfront.inc index 2ec62bd..78c2319 100644 --- a/pages/byfront.inc +++ b/pages/byfront.inc @@ -111,7 +111,7 @@ $travelling = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includ } if ((isset($age) && $age > 0 && time() > 1677628800) || time() <= 1677628800): ?> -
time() - (86400 * 21)): ?>rgba(255, 255, 255, .1) time() - (86400 * 37)): ?>rgba(255, 227, 0, 0.17)rgba(128,54,54,0.17); time() - (86400 * 21)): ?>rgba(255, 255, 255, .1) time() - (86400 * 30)): ?>rgba(255, 227, 0, 0.17)rgba(255,55,55,0.17);;margin-bottom:10px;padding:10px;border-radius:10px;display:grid;grid-template-columns: 1fr 2fr max-content;opacity: 0.75;background-color:rgba(255, 255, 255, .1) !important;"> +
time() - (86400 * 21)): ?>rgba(128, 54, 54, .1) time() - (86400 * 37)): ?>rgba(255, 227, 0, 0.17)rgba(255, 255, 255, .1); time() - (86400 * 21)): ?>rgba(255, 255, 255, .1) time() - (86400 * 30)): ?>rgba(255, 227, 0, 0.17)rgba(255,55,55,0.17);;margin-bottom:10px;padding:10px;border-radius:10px;display:grid;grid-template-columns: 1fr 2fr max-content;opacity: 0.75;background-color:rgba(255, 255, 255, .1) !important;"> "> " style="width:24px;">  @@ -124,6 +124,9 @@ $travelling = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includ Persecutor + + Punished + Memory diff --git a/pages/computers.inc b/pages/computers.inc index 35f10cc..7b25133 100644 --- a/pages/computers.inc +++ b/pages/computers.inc @@ -134,12 +134,12 @@ if (str_ends_with($computer["os"], "unknown")) { break; case "server": - echo("server "); + echo("Server "); break; default: break; - } ?> DSB ) + } ?> DSB ) (legacy) System: -- cgit