Helper refactoring
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<?php foreach ($comments as $comment): ?>
|
||||
<p class="comment-title">
|
||||
<?php if (! empty($comment['username'])): ?>
|
||||
<span class="comment-username"><?= $this->e($comment['name'] ?: $comment['username']) ?></span> @
|
||||
<span class="comment-username"><?= $this->text->e($comment['name'] ?: $comment['username']) ?></span> @
|
||||
<?php endif ?>
|
||||
<span class="comment-date"><?= $this->dt->datetime($comment['date_creation']) ?></span>
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user