| Server IP : 23.94.149.180 / Your IP : 216.73.216.147 Web Server : nginx/1.20.1 System : Linux deadrock 5.14.0-741.22.1.el9_9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Nov 12 15:18:14 UTC 2026 x86_64 User : apache ( 48) PHP Version : 8.6.0 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /files/webmaint/kennethmyatt/gallery3/modules/comment/views/ |
Upload File : |
<?php defined("SYSPATH") or die("No direct script access.") ?>
<ul>
<?php foreach ($comments as $comment): ?>
<li class="<?= text::alternate("g-even", "g-odd") ?>">
<img src="<?= $comment->author()->avatar_url(32, $theme->url("images/avatar.jpg", true)) ?>"
class="g-avatar"
alt="<?= html::clean_attribute($comment->author_name()) ?>"
width="32"
height="32" />
<?= gallery::date_time($comment->created) ?>
<?php if ($comment->author()->guest): ?>
<?= t('%author_name said <em>%comment_text</em>',
array("author_name" => html::clean($comment->author_name()),
"comment_text" => text::limit_words(nl2br(html::purify($comment->text)), 50))); ?>
<?php else: ?>
<?= t('<a href="%url">%author_name</a> said <em>%comment_text</em>',
array("author_name" => html::clean($comment->author_name()),
"url" => user_profile::url($comment->author_id),
"comment_text" => text::limit_words(nl2br(html::purify($comment->text)), 50))); ?>
<?php endif ?>
</li>
<?php endforeach ?>
</ul>