summaryrefslogtreecommitdiff
path: root/_profile
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2022-12-26 11:01:24 +0100
committerMinteck <contact@minteck.org>2022-12-26 11:01:24 +0100
commitfff87a11d819a7275e4640ccaa894c1300f6228a (patch)
treeec078affe59dc325cd814758389c4274a6ab2e99 /_profile
parenta70a7a3983f08847bfd897c673e8fc00f7b00198 (diff)
downloaddelta-fff87a11d819a7275e4640ccaa894c1300f6228a.tar.gz
delta-fff87a11d819a7275e4640ccaa894c1300f6228a.tar.bz2
delta-fff87a11d819a7275e4640ccaa894c1300f6228a.zip
Update - This is an automated commit
Diffstat (limited to '_profile')
-rw-r--r--_profile/index.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/_profile/index.php b/_profile/index.php
index b0f993b..8dbe6a7 100644
--- a/_profile/index.php
+++ b/_profile/index.php
@@ -35,7 +35,7 @@ require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/navigation.php";
<div class="container">
<br><br>
<h1>
- <span><?= $data["nick_name"] ?? $data["first_name"] . " " . $data["last_name"] ?><?php if (isset($data["nick_name"]) && trim($data["nick_name"]) !== ""): ?> <small><small><small>(<?= $data["first_name"] . " " . $data["last_name"] ?>)</small></small></small><?php endif; ?><?php if ($data["plus"]): ?> <small><small><small><small><small><small><span class="badge badge-plus rounded-pill" style="vertical-align: middle; margin-top: -5px;">PLUS</span></small></small></small></small></small></small><?php endif; ?></span>
+ <span><?= $data["nick_name"] ?? $data["first_name"] . " " . $data["last_name"] ?><?php if (isset($data["nick_name"]) && trim($data["nick_name"]) !== ""): ?> <small><small><small>(<?= $data["first_name"] . " " . $data["last_name"] ?>)</small></small></small><?php endif; ?><?php if ($data["plus"] && !$data["ultra"]): ?> <small><small><small><small><small><small><span class="badge badge-plus rounded-pill" style="vertical-align: middle; margin-top: -5px;">PLUS</span></small></small></small></small></small></small><?php elseif ($data["plus"] && $data["ultra"]): ?> <small><small><small><small><small><small><span class="badge badge-ultra rounded-pill" style="vertical-align: middle; margin-top: -5px;">ULTRA</span></small></small></small></small></small></small><?php endif; ?></span>
<span style="float: right;"><?php if ($id === $_USER): ?><a href="/edit/<?= $id ?>" class="btn btn-outline-dark"><?= l("lang_people_edit") ?></a><?php endif; ?>
<div class="dropdown" style="display: inline-block;">
<button type="button" class="btn btn-outline-dark dropdown-toggle" data-bs-toggle="dropdown"><?= l("lang_profile_options") ?></button>
@@ -118,6 +118,7 @@ require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/navigation.php";
<div>
<?= $data["contents"] ?>
</div>
+ <small class="text-muted"><?= str_replace("%1", timeAgo($data["update"]), l("lang_time_update")) ?></small>
<?php else: ?>
<p class="text-muted"><?= l("lang_profile_empty") ?></p>
<?php endif; ?>