diff options
Diffstat (limited to 'includes/footer.php')
-rw-r--r-- | includes/footer.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/footer.php b/includes/footer.php index c120941..4bf7877 100644 --- a/includes/footer.php +++ b/includes/footer.php @@ -27,7 +27,7 @@ if (!function_exists("timeAgo")) { $difference = round($difference); $period = $periods[$j] . ($difference >1 ? "s" :''); - return "{$difference} {$period} {$tense} "; + return "{$difference} {$period} {$tense}"; } } @@ -35,7 +35,7 @@ if (!function_exists("timeAgo")) { <hr> <div class="container text-muted"> - © <?= date("Y") ?> <a href="https://equestria.horse" target="_blank" class="text-muted">Equestria.dev Developers</a><br> + © <?= date("Y") ?> <a href="https://equestria.horse" target="_blank" class="text-muted">Equestria.dev Developers</a> · <a href="https://git.equestria.dev/equestria.dev/ponies.equestria.horse" target="_blank" class="text-muted">Source Code</a><br> PluralKit data updated <?= trim(timeAgo(json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/data/refresh.json"), true)["timestamp"])) ?>, next update in <?php $t = 5 - round((time() - json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/data/refresh.json"), true)["timestamp"]) / 60); ?><?= $t > 1 ? $t . " minutes" : ($t > 0 ? "a minute" : "a few seconds") ?> <br><br><br> </div> |