silverstripe-cms/templates/PageCommentInterface_singlecomment.ss
Andrew O'Neil 6de32f6edc Don't show unmoderated comments unless user is admin, add link to accept comment
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@39818 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-10 01:29:09 +00:00

25 lines
658 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 />
<span>
<% if AcceptLink %>
<a href="$AcceptLink" class="acceptlink">accept this comment</a>
<% end_if %>
<% if SpamLink %>
<a href="$SpamLink" class="spamlink">this comment is spam</a>
<% end_if %>
<% if HamLink %>
<a href="$HamLink" class="hamlink">this comment is not spam</a>
<% end_if %>
<% if DeleteLink %>
<a href="$DeleteLink" class="deletelink">remove this comment</a>
<% end_if %>
</span>
</p>