diff options
Diffstat (limited to 'modules/comment/views/comments.html.php')
-rw-r--r-- | modules/comment/views/comments.html.php | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/modules/comment/views/comments.html.php b/modules/comment/views/comments.html.php index b436fd98..3ca34a0f 100644 --- a/modules/comment/views/comments.html.php +++ b/modules/comment/views/comments.html.php @@ -2,9 +2,14 @@ <ul> <? foreach ($comments as $comment): ?> <li id="gComment-<?= $comment->id; ?>"> - <p> - <a href="#" class="gAuthor"><?= $comment->author ?></a> - <?= date("Y-M-d H:i:s", $comment->created) ?> + <? $avatar = $theme->url("images/avatar.jpg") ?> + <? //if ($user->avatar($comment->author)): ?> + <? //$avatar = $theme->url("images/avatar.jpg") ?> + <? //endif ?> + <p class="gAuthor"> + <a href="#"><img src="<?= $avatar ?>" class="gAvatar" alt="<?= $comment->author ?>" /></a> + <?= _("on ") . date("Y-M-d H:i:s", $comment->created) ?> + <a href="#"><?= $comment->author ?></a> <?= _("said") ?> </p> <div> <?= $comment->text ?> |