From 5eb6a557c44462e7d9d752f3bc97a078ef205bc0 Mon Sep 17 00:00:00 2001 From: RaindropsSys Date: Tue, 11 Jul 2023 12:17:50 +0200 Subject: Updated 7 files and added assets/logo/light.css (automated) --- includes/components/header.inc | 2 ++ includes/components/sysbanner.inc | 2 +- includes/components/timeline.inc | 56 +++++++++++++++++++-------------------- includes/fragments/member.inc | 4 +-- includes/util/functions.inc | 4 +-- includes/util/homepage.inc | 2 +- 6 files changed, 36 insertions(+), 34 deletions(-) (limited to 'includes') diff --git a/includes/components/header.inc b/includes/components/header.inc index 234b518..5179d54 100644 --- a/includes/components/header.inc +++ b/includes/components/header.inc @@ -54,6 +54,7 @@ require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/util/functions.inc"; + @@ -61,6 +62,7 @@ require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/util/functions.inc"; <?= $title && $title !== "-" ? $title . " ยท " : "" ?>Cold Haze .png" type="image/png"> + diff --git a/includes/components/sysbanner.inc b/includes/components/sysbanner.inc index 26a049e..30babf0 100644 --- a/includes/components/sysbanner.inc +++ b/includes/components/sysbanner.inc @@ -13,7 +13,7 @@ $pages = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/pa ?> -
padding-top: 15px;"> +
padding-top: 15px;">
diff --git a/includes/components/timeline.inc b/includes/components/timeline.inc index 1a34550..3766073 100644 --- a/includes/components/timeline.inc +++ b/includes/components/timeline.inc @@ -6,23 +6,23 @@ function displayTimeline($systems) { global $app; $showIcons = count($systems) > - - - - - - - + + + + + + + - - - - - - - + + + + + + + @@ -70,23 +70,23 @@ function displayTimeline($systems) { global $app; $showIcons = count($systems) > - 6 hours ago - 5 hours ago - 4 hours ago - 3 hours ago - 2 hours ago - 1 hour ago - Now + 6 hours ago + 5 hours ago + 4 hours ago + 3 hours ago + 2 hours ago + 1 hour ago + Now - -6h - -5h - -4h - -3h - -2h - -1h - Now + -6h + -5h + -4h + -3h + -2h + -1h + Now diff --git a/includes/fragments/member.inc b/includes/fragments/member.inc index 476b748..9ebb4c2 100644 --- a/includes/fragments/member.inc +++ b/includes/fragments/member.inc @@ -152,8 +152,8 @@ if (file_exists($_SERVER['DOCUMENT_ROOT'] . "/assets/ponies/" . $memberID . ".pn
; padding-bottom: 0 !important;"> -
-
+
+
$design): if (isset($design)): ?>
diff --git a/includes/util/functions.inc b/includes/util/functions.inc index 8b22709..8a8c4f8 100644 --- a/includes/util/functions.inc +++ b/includes/util/functions.inc @@ -336,8 +336,8 @@ if (!function_exists("showMembersFromList")) { foreach ($list as $member) { if ($member['name'] !== "unknown" && $member['name'] !== "fusion") { echo('
-
' . ($member['display_name'] ?? $member['name']) . '
-
' . (isset($member['travelling']) && $member['travelling'] ? "+" . ($member['proxy_tags'][0]['prefix'] ?? " ") : ($member['proxy_tags'][0]['prefix'] ?? " ")) . '
+
' . ($member['display_name'] ?? $member['name']) . '
+
' . (isset($member['travelling']) && $member['travelling'] ? "+" . ($member['proxy_tags'][0]['prefix'] ?? " ") : ($member['proxy_tags'][0]['prefix'] ?? " ")) . '
'); }} } diff --git a/includes/util/homepage.inc b/includes/util/homepage.inc index 3f4520d..1846cba 100644 --- a/includes/util/homepage.inc +++ b/includes/util/homepage.inc @@ -19,7 +19,7 @@ function newHomepage($id, $page, $title) {