mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-04-18 03:29:19 -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.
21 lines
706 B
PHP
21 lines
706 B
PHP
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
|
<a name="comments"></a>
|
|
<ul id="gComments">
|
|
<? foreach ($comments as $comment): ?>
|
|
<li id="gComment-<?= $comment->id; ?>">
|
|
<? $avatar = $theme->url("images/avatar.jpg") ?>
|
|
<? //if ($user->avatar($comment->author)): ?>
|
|
<? //$avatar = $theme->url("images/avatar.jpg") ?>
|
|
<? //endif ?>
|
|
<p class="gAuthor">
|
|
<a href="#"><img src="<?= $avatar ?>" class="gAvatar" alt="<?= $comment->author ?>" /></a>
|
|
<?= t("on ") . date("Y-M-d H:i:s", $comment->created) ?>
|
|
<a href="#"><?= $comment->author ?></a> <?= t("said") ?>
|
|
</p>
|
|
<div>
|
|
<?= $comment->text ?>
|
|
</div>
|
|
</li>
|
|
<? endforeach ?>
|
|
</ul>
|