summaryrefslogtreecommitdiff
path: root/modules/comment/views/comment.html.php
blob: a87634e9414e36bcc45f441529342d22885c5e05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?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>
    <?= _("on ") . date("Y-M-d H:i:s", $comment->created) ?>
    <a href="#"><?= $comment->author ?></a> <?= _("said") ?>
  </p>
  <div>
    <?= $comment->text ?>
  </div>
</li>