Files
gallery3/modules/comment/views/user_profile_comments.html.php
Johan Cwiklinski 6746792bdf Drop short_tags
2018-05-19 17:01:37 +02:00

21 lines
606 B
PHP

<?php defined("SYSPATH") or die("No direct script access.") ?>
<div id="g-comment-detail">
<ul>
<?php foreach ($comments as $comment): ?>
<li id="g-comment-<?= $comment->id ?>">
<p class="g-author">
<?= t("on %date for %title ",
array("date" => gallery::date_time($comment->created),
"title" => $comment->item()->title)); ?>
<a href="<?= $comment->item()->url() ?>">
<?= $comment->item()->thumb_img(array(), 50) ?>
</a>
</p>
<div>
<?= nl2br(html::purify($comment->text)) ?>
</div>
</li>
<?php endforeach ?>
</ul>
</div>