Change comments table structure (drop foreign key on user_id)
This commit is contained in:
@@ -4,7 +4,12 @@
|
||||
<?php if (! empty($comment['email'])): ?>
|
||||
<?= $this->user->avatar($comment['email'], $comment['name'] ?: $comment['username']) ?>
|
||||
<?php endif ?>
|
||||
<span class="comment-username"><?= $this->e($comment['name'] ?: $comment['username']) ?></span> @ <span class="comment-date"><?= dt('%B %e, %Y at %k:%M %p', $comment['date']) ?></span>
|
||||
|
||||
<?php if (! empty($comment['username'])): ?>
|
||||
<span class="comment-username"><?= $this->e($comment['name'] ?: $comment['username']) ?></span> @
|
||||
<?php endif ?>
|
||||
|
||||
<span class="comment-date"><?= dt('%B %e, %Y at %k:%M %p', $comment['date_creation']) ?></span>
|
||||
</p>
|
||||
<div class="comment-inner">
|
||||
|
||||
|
||||
Reference in New Issue
Block a user