diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-01-09 04:43:34 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-01-09 04:43:34 +0000 |
commit | a0f3c09a07f2673f0ce2fac67c13df607d72061e (patch) | |
tree | b224aeacb846fd60188885bd00eb08194f440e37 | |
parent | be478eb0c2ad4dc89c0629f17af86c328dd21465 (diff) |
Eliminate unused avatar code (for now)
-rw-r--r-- | modules/comment/views/comment.html.php | 7 | ||||
-rw-r--r-- | modules/comment/views/comments.html.php | 6 |
2 files changed, 3 insertions, 10 deletions
diff --git a/modules/comment/views/comment.html.php b/modules/comment/views/comment.html.php index de0640bd..fc53fefa 100644 --- a/modules/comment/views/comment.html.php +++ b/modules/comment/views/comment.html.php @@ -1,11 +1,8 @@ <?php defined("SYSPATH") or die("No direct script access.") ?> <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> diff --git a/modules/comment/views/comments.html.php b/modules/comment/views/comments.html.php index b28a536e..6c319317 100644 --- a/modules/comment/views/comments.html.php +++ b/modules/comment/views/comments.html.php @@ -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> |