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.php11
1 files changed, 8 insertions, 3 deletions
diff --git a/modules/comment/views/comment.html.php b/modules/comment/views/comment.html.php
index 25cd2caa..a87634e9 100644
--- a/modules/comment/views/comment.html.php
+++ b/modules/comment/views/comment.html.php
@@ -1,8 +1,13 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
<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 ?>