diff options
Diffstat (limited to 'src/application/views/view_user.php')
-rw-r--r-- | src/application/views/view_user.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/application/views/view_user.php b/src/application/views/view_user.php index d3ebe04..5c89411 100644 --- a/src/application/views/view_user.php +++ b/src/application/views/view_user.php @@ -59,7 +59,9 @@ $emailPending = $isOwnProfile && $user->pendingEmail !== null; <?= htmlentities(StringUtils::truncate(strip_tags(renderPost($post->content)), 100)) ?><br> <span class="text-muted"><?= __("posted on %post_date% in %topic%", [ "post_date" => '<span class="_time">' . htmlentities($post->postDate->format("c")) . '</span>', - "topic" => '<em>' . htmlentities($topics[$post->topicId]?->title ?? "unknown") . '</em>', + "topic" => '<em>' . + ($topics[$post->topicId]?->isLocked ? '<span class="glyphicon glyphicon-lock text-muted" aria-hidden="true"></span> ' : '') . + htmlentities($topics[$post->topicId]?->title ?? "unknown") . '</em>', ]) ?></span> </a> <?php endforeach; ?> |