2015-04-07 05:56:00 +02:00
|
|
|
<% if not $isPreview %>
|
2016-02-09 14:47:04 +01:00
|
|
|
<p class="info" id="$Permalink">
|
2013-03-05 10:01:42 +01:00
|
|
|
<% if $URL %>
|
2015-04-07 05:56:00 +02:00
|
|
|
<a class="author" href="$URL.URL" rel="nofollow">$AuthorName.XML</a>
|
2013-03-05 10:01:42 +01:00
|
|
|
<% else %>
|
2015-04-07 05:56:00 +02:00
|
|
|
<span class="author">$AuthorName.XML</span>
|
|
|
|
<% end_if %>
|
|
|
|
<span class="date">$Created.Nice ($Created.Ago)</span>
|
2013-03-05 10:01:42 +01:00
|
|
|
</p>
|
2015-04-07 05:56:00 +02:00
|
|
|
<% end_if %>
|
2016-02-15 11:05:17 +01:00
|
|
|
<% if $Gravatar %>
|
|
|
|
<img class="gravatar" src="$Gravatar.ATT" alt="Gravatar for $Name.ATT" title="Gravatar for $Name.ATT" />
|
|
|
|
<% end_if %>
|
2018-04-26 07:42:08 +02:00
|
|
|
<div class="comment-text<% if $Gravatar %> hasGravatar<% end_if %>" id="<% if $isPreview %>comment-preview<% else %>{$Permalink}-text<% end_if %>">
|
2015-04-07 05:56:00 +02:00
|
|
|
<p>$EscapedComment</p>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<% if not $isPreview %>
|
|
|
|
<% if $ApproveLink || $SpamLink || $HamLink || $DeleteLink || $RepliesEnabled %>
|
2015-04-22 04:05:51 +02:00
|
|
|
<div class="comment-action-links">
|
|
|
|
<div class="comment-moderation-options">
|
|
|
|
<% if $ApproveLink %>
|
2018-11-27 13:26:42 +01:00
|
|
|
<a href="$ApproveLink.ATT" class="approve"><%t CommentsInterface_singlecomment_ss.APPROVE "Approve it" %></a>
|
2015-04-22 04:05:51 +02:00
|
|
|
<% end_if %>
|
|
|
|
<% if $SpamLink %>
|
2018-11-27 13:26:42 +01:00
|
|
|
<a href="$SpamLink.ATT" class="spam"><%t CommentsInterface_singlecomment_ss.ISSPAM "Spam it" %></a>
|
2015-04-22 04:05:51 +02:00
|
|
|
<% end_if %>
|
|
|
|
<% if $HamLink %>
|
2018-11-27 13:26:42 +01:00
|
|
|
<a href="$HamLink.ATT" class="ham"><%t CommentsInterface_singlecomment_ss.ISNTSPAM "Not spam" %></a>
|
2015-04-22 04:05:51 +02:00
|
|
|
<% end_if %>
|
|
|
|
<% if $DeleteLink %>
|
2018-11-27 13:26:42 +01:00
|
|
|
<a href="$DeleteLink.ATT" class="delete"><%t CommentsInterface_singlecomment_ss.REMCOM "Reject it" %></a>
|
2015-04-22 04:05:51 +02:00
|
|
|
<% end_if %>
|
|
|
|
</div>
|
2017-01-16 20:57:37 +01:00
|
|
|
<% if $RepliesEnabled && $canPostComment %>
|
2018-02-01 04:27:30 +01:00
|
|
|
<button class="comment-reply-link" type="button" aria-controls="$ReplyForm.FormName" aria-expanded="false">
|
2018-11-27 13:26:42 +01:00
|
|
|
<%t CommentsInterface_singlecomment_ss.REPLYTO "Reply to" %> $AuthorName.XML
|
2018-02-02 11:45:48 +01:00
|
|
|
</button>
|
2013-03-05 10:01:42 +01:00
|
|
|
<% end_if %>
|
2015-04-22 04:05:51 +02:00
|
|
|
</div>
|
2013-03-05 10:01:42 +01:00
|
|
|
<% end_if %>
|
2016-02-09 14:47:04 +01:00
|
|
|
|
2015-04-07 05:56:00 +02:00
|
|
|
<% include CommentReplies %>
|
2012-07-21 23:54:24 +02:00
|
|
|
<% end_if %>
|