diff options
Diffstat (limited to 'includes/components/sysbanner.inc')
-rw-r--r-- | includes/components/sysbanner.inc | 3 |
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 <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> |