mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-20 03:19:13 -04:00
- 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.
12 lines
420 B
PHP
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>
|