summaryrefslogtreecommitdiff
path: root/includes/components/sysbanner.inc
diff options
context:
space:
mode:
authorRaindropsSys <contact@minteck.org>2023-08-02 14:08:08 +0200
committerRaindropsSys <contact@minteck.org>2023-08-02 14:08:08 +0200
commit5103495a461ed90f23b5ec890dca73935bff0c68 (patch)
treeadc16bfa325372623d6f58c3befa28bb25b72cec /includes/components/sysbanner.inc
parent0406b656d04a6fffbcc5f6d16ecec9906cc3b609 (diff)
downloadpluralconnect-5103495a461ed90f23b5ec890dca73935bff0c68.tar.gz
pluralconnect-5103495a461ed90f23b5ec890dca73935bff0c68.tar.bz2
pluralconnect-5103495a461ed90f23b5ec890dca73935bff0c68.zip
Updated 19 files and added assets/icons/new/menu.svg (automated)
Diffstat (limited to 'includes/components/sysbanner.inc')
-rw-r--r--includes/components/sysbanner.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/components/sysbanner.inc b/includes/components/sysbanner.inc
index 2dd1dd4..a97169a 100644
--- a/includes/components/sysbanner.inc
+++ b/includes/components/sysbanner.inc
@@ -66,12 +66,13 @@ $pages = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/pa
setInterval(refreshTimeline, 10000);
refreshTimeline();
</script>
+ <?php global $use2023UI; ?>
<div style="display:grid;grid-template-columns: repeat(2, 1fr);">
<div style="display: flex; align-items: center; justify-content: center; text-align: center;">
Last switch&nbsp;<span data-bs-toggle="tooltip" title="<?= date("D j M Y, G:i:s (e)", strtotime(json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/data/$systemID/fronters.json"), true)["timestamp"])) ?>"><?= timeAgo(json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/data/$systemID/fronters.json"), true)["timestamp"]) ?></span>
</div>
<a title="<?= $pages["s:history"]["name"][$lang["_name"]] ?>" data-bs-toggle="tooltip" style="display:inline-block;padding:5px 10px;text-align: center" class="system-action tooltip-nohelp" href="/<?= $system ?>/-/history">
- <img src="/assets/icons/history.svg" style="vertical-align: middle;height: 24px;width: 24px;filter: invert(1)" alt="">
+ <img src="<?= $use2023UI ? icon("history") : "/assets/icons/history.svg" ?>" style="vertical-align: middle;height: 24px;width: 24px;" alt="">
<span style="vertical-align: middle;" class="list-separator-desktop"><?= $pages["s:history"]["name"][$lang["_name"]] ?></span>
</a>
<div></div>