HTML format cleanup

This commit is contained in:
Chad Kieffer
2009-01-10 19:13:00 +00:00
parent a2dbbf32ab
commit 82848bd3a9
4 changed files with 24 additions and 15 deletions

View File

@@ -2,11 +2,13 @@
<ul>
<? foreach ($comments as $comment): ?>
<li>
<img width="40" height="40"
src="<?= $comment->author()->avatar_url(40, $theme->url("images/avatar.jpg", true)) ?>"
class="gAvatar" alt="<?= $comment->author_name() ?>" />
<img src="<?= $comment->author()->avatar_url(40, $theme->url("images/avatar.jpg", true)) ?>"
class="gAvatar"
alt="<?= $comment->author_name() ?>"
width="40"
height="40" />
<?= date("Y-M-d H:i:s", $comment->created) ?>
<?= t("<a href=#>{{author_name}}</a> said <i>{{comment_text}}</i>",
<?= t("<a href=#>{{author_name}}</a> said <em>{{comment_text}}</em>",
array("author_name" => $comment->author_name(),
"comment_text" => text::limit_words($comment->text, 50))); ?>
</li>