2009-01-01 00:23:29 +00:00
|
|
|
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
2008-12-20 01:25:03 +00:00
|
|
|
<ul>
|
2008-12-21 02:02:41 +00:00
|
|
|
<? foreach ($comments as $comment): ?>
|
2008-12-20 01:25:03 +00:00
|
|
|
<li>
|
2009-01-10 19:13:00 +00:00
|
|
|
<img src="<?= $comment->author()->avatar_url(40, $theme->url("images/avatar.jpg", true)) ?>"
|
|
|
|
|
class="gAvatar"
|
|
|
|
|
alt="<?= $comment->author_name() ?>"
|
|
|
|
|
width="40"
|
|
|
|
|
height="40" />
|
2008-12-21 02:02:41 +00:00
|
|
|
<?= date("Y-M-d H:i:s", $comment->created) ?>
|
2009-01-15 10:02:41 +00:00
|
|
|
<?= t("<a href=#>%author_name</a> said <em>%comment_text</em>",
|
2009-01-10 06:18:35 +00:00
|
|
|
array("author_name" => $comment->author_name(),
|
|
|
|
|
"comment_text" => text::limit_words($comment->text, 50))); ?>
|
2008-12-20 01:25:03 +00:00
|
|
|
</li>
|
2008-12-21 02:02:41 +00:00
|
|
|
<? endforeach ?>
|
2008-12-20 01:25:03 +00:00
|
|
|
</ul>
|