summaryrefslogtreecommitdiff
path: root/includes/system.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/system.php')
-rw-r--r--includes/system.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/system.php b/includes/system.php
index 606d63d..059eed7 100644
--- a/includes/system.php
+++ b/includes/system.php
@@ -39,7 +39,7 @@ function timeAgo($time): string {
$difference = round($difference);
$period = $periods[$j] . ($difference >1 ? "s" :'');
- return "{$difference} {$period} {$tense} ";
+ return "{$difference} {$period} {$tense}";
}
?>
@@ -51,9 +51,9 @@ function timeAgo($time): string {
<div id="page-content">
<?php global $isLoggedIn; if ($isLoggedIn): ?>
- <small style="opacity:.5;display:block;">(<a href="/edit/<?= $system ?>">edit</a>)</small>
+ <small style="opacity:.5;display:block;">(<a href="/-/edit/<?= $system ?>">edit</a>)</small>
<?php endif; ?>
- <?= file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/data/$systemID-disclaimers.html") ?>
+ <?= file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/data/$systemID-content.html") ?>
</div>
<?php if ($system === "cloudburst") cloudburst(true); else raindrops(true); ?>
</div>