summaryrefslogtreecommitdiff
path: root/modules/comment
diff options
context:
space:
mode:
authorChad Kieffer <chad@2tbsp.com>2009-01-03 01:11:20 +0000
committerChad Kieffer <chad@2tbsp.com>2009-01-03 01:11:20 +0000
commita57ede2f96babc216538f0115561c6e4f94eb79d (patch)
treee1a93a052909aea4cbcb8f24f60ff0840c7acaa4 /modules/comment
parent7db1758e93775c3f59c4a874da36225585dcbab5 (diff)
Added default user avatar. Comment thread updates, including display of avatar. Sidebar block display white space updates. Combined gLoginMenu and gCredits css.
Diffstat (limited to 'modules/comment')
-rw-r--r--modules/comment/views/comments.html.php11
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 ?>