diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/comment/views/comment.html.php | 11 | ||||
-rw-r--r-- | modules/comment/views/comments.html.php | 3 |
2 files changed, 10 insertions, 4 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 ?> diff --git a/modules/comment/views/comments.html.php b/modules/comment/views/comments.html.php index 3ca34a0f..e34446ac 100644 --- a/modules/comment/views/comments.html.php +++ b/modules/comment/views/comments.html.php @@ -1,5 +1,6 @@ <?php defined("SYSPATH") or die("No direct script access.") ?> -<ul> +<a name="comments"></a> +<ul id="gComments"> <? foreach ($comments as $comment): ?> <li id="gComment-<?= $comment->id; ?>"> <? $avatar = $theme->url("images/avatar.jpg") ?> |