summaryrefslogtreecommitdiff
path: root/includes/footer.inc
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2023-01-02 20:29:01 +0100
committerMinteck <contact@minteck.org>2023-01-02 20:29:01 +0100
commite72d0adbcd7e69928a1ef380c7a841c160284c68 (patch)
tree1b9b9c29bb4fd39b6bdf577375bb91be3b9d6be1 /includes/footer.inc
parentc9de96328e59816ff4867abf5feab9fb9bf29511 (diff)
downloadpluralconnect-e72d0adbcd7e69928a1ef380c7a841c160284c68.tar.gz
pluralconnect-e72d0adbcd7e69928a1ef380c7a841c160284c68.tar.bz2
pluralconnect-e72d0adbcd7e69928a1ef380c7a841c160284c68.zip
Update
Diffstat (limited to 'includes/footer.inc')
-rw-r--r--includes/footer.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/footer.inc b/includes/footer.inc
index b95ea78..cd1bb89 100644
--- a/includes/footer.inc
+++ b/includes/footer.inc
@@ -1,5 +1,6 @@
<?php
+global $pageFile;
require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/functions.inc";
?>
@@ -16,7 +17,7 @@ require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/functions.inc";
global $lang; global $pages;
?>
- © <?= date("Y") ?> <a href="https://equestria.horse" target="_blank" class="text-muted"><?= $lang["footer"]["copyright"] ?></a> · version 2.<?= $version["build"] ?>.<?= hexdec(substr($version["hash"], 0, 4)) ?>.<?= $version["revision"] ?><br>
+ © <?= date("Y") ?> <a href="https://equestria.horse" target="_blank" class="text-muted"><?= $lang["footer"]["copyright"] ?></a> · version 2.<?= $version["build"] ?>.<?= $version["revision"] ?> · node <?= strtoupper(dechex(fileinode($pageFile))) ?><br>
<a href="/-/debug" class="text-muted" style="text-decoration: none;"><?= $lang["footer"]["update"] ?> <?= trim(timeAgo($refresh["timestamp"], $lang["_french"])) ?> (<?php if (time() - $refresh["timestamp"] > 360): ?><?= $lang["footer"]["no_update"] ?><?= $lang["footer"]["separator"] ?>; <?php endif; ?><?= date('D j M, G:i:s T', (int)$refresh["timestamp"]) ?><?= $lang["footer"]["separator"] ?>; <?= $lang["footer"]["took"] ?> <?= round($refresh["duration"] * 1000) ?> ms, <?= count($refresh["restored"]) > 0 ? (count($refresh["restored"]) > 1 ? $lang["footer"]["failures"][0] . count($refresh["restored"]) . $lang["footer"]["failures"][1] : $lang["footer"]["failure"]) : $lang["footer"]["no_failure"] ?>)</a>
<br><br><br><br><br>
</div>