Files
gallery3/modules/comment/views/admin_block_recent_comments.html.php
Andy Staudacher a631fe29f3 i18n refactoring: Rename all _() (reserved by gettext) calls to t().
- And refactor printf to our string interpolation / pluralization syntax
- Also, a slight change to the translations_incomings table, using binary(16) instead of char(32) as message key.
2009-01-08 17:13:06 +00:00

12 lines
420 B
PHP

<?php defined("SYSPATH") or die("No direct script access.") ?>
<ul>
<? foreach ($comments as $comment): ?>
<li>
<?= date("Y-M-d H:i:s", $comment->created) ?>
<?= t("{{author_name}} said {{comment_text}}",
array("author_name" => "<a href=\"#\">$comment->author</a>",
"comment_text" => "<i>\"" . text::limit_words($comment->text, 50) . "\"</i>")); ?>
</li>
<? endforeach ?>
</ul>