diff options
Diffstat (limited to 'src/application/views/view_search_results.php')
| -rw-r--r-- | src/application/views/view_search_results.php | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/src/application/views/view_search_results.php b/src/application/views/view_search_results.php index e21fbb8..914d2b2 100644 --- a/src/application/views/view_search_results.php +++ b/src/application/views/view_search_results.php @@ -20,7 +20,9 @@ use mystic\forum\utils\StringUtils;                  <span class="text-muted"><?= __("posted by %author% on %post_date% in %topic%", [                      "author" => '<em>' . htmlentities($users[$post->authorId]?->displayName ?? __("unknown")) . '</em>',                      "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; ?> |