summaryrefslogtreecommitdiff
path: root/includes/footer.inc
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2023-02-25 19:59:31 +0100
committerMinteck <contact@minteck.org>2023-02-25 19:59:31 +0100
commit3d77712a9ab014635c75a33ea0f491bbda6aead3 (patch)
tree616bef5215db4f1d1cea2566079db2a130363e6b /includes/footer.inc
parent15bb1453008237edbc2cb4e82a9eb44db6f99794 (diff)
downloadpluralconnect-3d77712a9ab014635c75a33ea0f491bbda6aead3.tar.gz
pluralconnect-3d77712a9ab014635c75a33ea0f491bbda6aead3.tar.bz2
pluralconnect-3d77712a9ab014635c75a33ea0f491bbda6aead3.zip
Updated 16 files and added 2 files (automated)
Diffstat (limited to 'includes/footer.inc')
-rw-r--r--includes/footer.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/footer.inc b/includes/footer.inc
index 6e9f3d0..b2fb277 100644
--- a/includes/footer.inc
+++ b/includes/footer.inc
@@ -18,7 +18,7 @@ require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/functions.inc";
?>
© <?= date("Y") ?> <a href="https://equestria.horse" target="_blank" class="text-muted"><?= $lang["footer"]["copyright"] ?></a> · build <?= $version["build"] ?>.<?= $version["revision"] ?><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>
+ <a class="debug-outer text-muted" style="text-decoration: none;"><?= $lang["footer"]["update"] ?> <?= trim(timeAgo($refresh["timestamp"], $lang["_french"])) ?><span class="debug-hidden">&nbsp;(<?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"]) ?> sec)</span></a>
<br><br><br><br><br>
</div>
</div>