[% PROCESS sub/date.html %] [% FOREACH comment IN comments %]
[% INCLUDE include/user_profile.html user = comment.author %]
[% comment.title %]
[% IF comment.author.status == 'banned' %] The author is banned. [% ELSE %] [% IF comment.upload %] [% PROCESS upload/upload.html upload = comment.upload %] [% END %] [% comment.text %] [% comment_text = comment.text; IF comment_text.search('

[% IF topic AND topic.closed; no_reply = 1; END %] [% IF forum.settings.can_post_replies AND forum.settings.can_post_replies == 'N'; no_reply = 1; END %] [% UNLESS no_reply %] Reply [% END %] [% IF c.user_exists AND comment.author.user_id == c.user.user_id %] Edit [% END %] [% IF c.user_exists AND roles.is_moderator %] Delete [% END %] [% date_format(comment.post_on) %]
[% END %] [% IF comments.size %]
[% INCLUDE 'sub/pager.html' pager = comments_pager %]
[% END %] [% IF global_has_photos == 1 %] [% c.load_once('jquery/jquery.lightbox-0.4.css') %] [% c.load_once('jquery/jquery.lightbox-0.4.js') %] [% END %]