Added default user avatar. Comment thread updates, including display of avatar. Sidebar block display white space updates. Combined gLoginMenu and gCredits css.

This commit is contained in:
Chad Kieffer
2009-01-03 01:11:20 +00:00
parent 7db1758e93
commit a57ede2f96
7 changed files with 46 additions and 32 deletions

View File

@@ -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 ?>