diff options
-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> |