silverstripe-cms/templates/PageCommentInterface_singlecomment.ss
Andrew O'Neil d7ea506562 'Approving' a comment makes more sense than 'accepting' a comment
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@39878 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-12 22:19:06 +00:00

25 lines
727 B
Scheme
Executable File

<p class="comment" id="PageComment_$ID">
<% if NeedsModeration %>
<p><b>Unmoderated comment</b></p>
<% end_if %>
$Comment.XML
</p>
<p class="info">
<span>Posted by $Name.XML, $Created.Nice ($Created.Ago)</span>
<br />
<ul class="actionLinks">
<% if ApproveLink %>
<li><a href="$ApproveLink" class="approvelink">approve this comment</a></li>
<% end_if %>
<% if SpamLink %>
<li><a href="$SpamLink" class="spamlink">this comment is spam</a></li>
<% end_if %>
<% if HamLink %>
<li><a href="$HamLink" class="hamlink">this comment is not spam</a></li>
<% end_if %>
<% if DeleteLink %>
<li class="last"><a href="$DeleteLink" class="deletelink">remove this comment</a></li>
<% end_if %>
</ul>
</p>