summaryrefslogtreecommitdiff
path: root/modules/comment/views/comment.html.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/comment/views/comment.html.php')
-rw-r--r--modules/comment/views/comment.html.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/modules/comment/views/comment.html.php b/modules/comment/views/comment.html.php
index fc53fefa..59b00b73 100644
--- a/modules/comment/views/comment.html.php
+++ b/modules/comment/views/comment.html.php
@@ -1,10 +1,12 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
<li id="gComment-<?= $comment->id; ?>">
<p class="gAuthor">
- <a href="#"><img src="<?= $theme->url("images/avatar.jpg") ?>"
- class="gAvatar" alt="<?= $comment->author ?>" /></a>
+ <a href="#">
+ <img src="<?= $theme->url("images/avatar.jpg") ?>"
+ class="gAvatar" alt="<?= $comment->author_name() ?>" />
+ </a>
<?= t("on ") . date("Y-M-d H:i:s", $comment->created) ?>
- <a href="#"><?= $comment->author ?></a> <?= t("said") ?>
+ <a href="#"><?= $comment->author_name() ?></a> <?= t("said") ?>
</p>
<div>
<?= $comment->text ?>