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>
|
2009-01-24 20:06:13 +00:00
|
|
|
<? foreach ($comments as $i => $comment): ?>
|
|
|
|
|
<li class="<?= ($i % 2 == 0) ? "gEvenRow" : "gOddRow" ?>">
|
2009-06-28 19:49:48 -07:00
|
|
|
<img src="<?= $comment->author()->avatar_url(32, $theme->theme_url("images/avatar.jpg", true)) ?>"
|
2009-01-10 19:13:00 +00:00
|
|
|
class="gAvatar"
|
2009-05-31 00:11:48 -07:00
|
|
|
alt="<?= p::clean($comment->author_name()) ?>"
|
2009-02-23 05:14:05 +00:00
|
|
|
width="32"
|
|
|
|
|
height="32" />
|
2009-06-12 22:44:51 -07:00
|
|
|
<?= gallery::date_time($comment->created) ?>
|
2009-06-16 14:12:40 -07:00
|
|
|
<?= t('<a href="#">%author_name</a> said <em>%comment_text</em>',
|
|
|
|
|
array("author_name" => p::clean($comment->author_name()),
|
2009-07-04 08:17:12 -07:00
|
|
|
"comment_text" => text::limit_words(nl2br(p::purify($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>
|