summaryrefslogtreecommitdiff
path: root/includes/system.php
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2022-08-21 17:31:56 +0200
committerMinteck <contact@minteck.org>2022-08-21 17:31:56 +0200
commita2df9a69dcc14cb70118cda2ded499055e7ee358 (patch)
tree6dd283e4e9452d38bce81ddaaae49b5335755842 /includes/system.php
parent84dd0735820b16b60f600284d35183d76547a71f (diff)
downloadpluralconnect-a2df9a69dcc14cb70118cda2ded499055e7ee358.tar.gz
pluralconnect-a2df9a69dcc14cb70118cda2ded499055e7ee358.tar.bz2
pluralconnect-a2df9a69dcc14cb70118cda2ded499055e7ee358.zip
m. update
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>