diff options
Diffstat (limited to 'modules/comment/views/comments.html.php')
-rw-r--r-- | modules/comment/views/comments.html.php | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/modules/comment/views/comments.html.php b/modules/comment/views/comments.html.php index 6c319317..7f82241e 100644 --- a/modules/comment/views/comments.html.php +++ b/modules/comment/views/comments.html.php @@ -2,11 +2,13 @@ <a name="comments"></a> <ul id="gComments"> <? foreach ($comments as $comment): ?> - <li id="gComment-<?= $comment->id; ?>"> + <li id="gComment-<?= $comment->id ?>"> <p class="gAuthor"> - <a href="#"><img src="<?= $theme->url("images/avatar.jpg") ?>" class="gAvatar" alt="<?= $comment->author ?>" /></a> - <?= t("on ") . date("Y-M-d H:i:s", $comment->created) ?> - <a href="#"><?= $comment->author ?></a> <?= t("said") ?> + <a href="#"> + <img src="<?= $theme->url("images/avatar.jpg") ?>" + class="gAvatar" alt="<?= $comment->author_name() ?>" /> + </a> + <? printf(t("on %s <a href=#>%s</a> said"), date("Y-M-d H:i:s", $comment->created), $comment->author_name()) ?> </p> <div> <?= $comment->text ?> |