Eliminate unused avatar code (for now)

This commit is contained in:
Bharat Mediratta
2009-01-09 04:43:34 +00:00
parent be478eb0c2
commit a0f3c09a07
2 changed files with 3 additions and 10 deletions

View File

@@ -3,12 +3,8 @@
<ul id="gComments">
<? foreach ($comments as $comment): ?>
<li id="gComment-<?= $comment->id; ?>">
<? $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>
<a href="#"><img src="<?= $theme->url("images/avatar.jpg") ?>" class="gAvatar" alt="<?= $comment->author ?>" /></a>
<?= t("on ") . date("Y-M-d H:i:s", $comment->created) ?>
<a href="#"><?= $comment->author ?></a> <?= t("said") ?>
</p>