summaryrefslogtreecommitdiff
path: root/modules/comment/views/comment.html.php
diff options
context:
space:
mode:
authorChad Kieffer <chad@2tbsp.com>2009-01-03 19:09:32 +0000
committerChad Kieffer <chad@2tbsp.com>2009-01-03 19:09:32 +0000
commitbdff96bd547b15dc6940573b9da0e80c45790b3a (patch)
tree26350eb864e9a73f0f251b9776251f34064bcd81 /modules/comment/views/comment.html.php
parent0402e326cb1274a4decaa54d3606453818a665f9 (diff)
Added a jump to comments button with a scroll to effect.
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 ?>