summaryrefslogtreecommitdiff
path: root/modules/comment/views/admin_block_recent_comments.html.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/comment/views/admin_block_recent_comments.html.php')
-rw-r--r--modules/comment/views/admin_block_recent_comments.html.php10
1 files changed, 6 insertions, 4 deletions
diff --git a/modules/comment/views/admin_block_recent_comments.html.php b/modules/comment/views/admin_block_recent_comments.html.php
index ef48423c..78e22766 100644
--- a/modules/comment/views/admin_block_recent_comments.html.php
+++ b/modules/comment/views/admin_block_recent_comments.html.php
@@ -2,11 +2,13 @@
<ul>
<? foreach ($comments as $comment): ?>
<li>
- <img width="40" height="40"
- src="<?= $comment->author()->avatar_url(40, $theme->url("images/avatar.jpg", true)) ?>"
- class="gAvatar" alt="<?= $comment->author_name() ?>" />
+ <img src="<?= $comment->author()->avatar_url(40, $theme->url("images/avatar.jpg", true)) ?>"
+ class="gAvatar"
+ alt="<?= $comment->author_name() ?>"
+ width="40"
+ height="40" />
<?= date("Y-M-d H:i:s", $comment->created) ?>
- <?= t("<a href=#>{{author_name}}</a> said <i>{{comment_text}}</i>",
+ <?= t("<a href=#>{{author_name}}</a> said <em>{{comment_text}}</em>",
array("author_name" => $comment->author_name(),
"comment_text" => text::limit_words($comment->text, 50))); ?>
</li>