ikiwiki/templates/commentmoderation.tmpl

33 lines
1011 B
Cheetah
Raw Normal View History

<TMPL_IF COMMENTS>
<br />
<form action="<TMPL_VAR CGIURL>" method="post">
<input type="hidden" name="do" value="commentmoderation" />
<input type="hidden" name="sid" value="<TMPL_VAR SID>" />
2009-01-26 04:25:45 +01:00
<input type="submit" value="Submit" />
<input type="checkbox" name="rejectalldefer" value="1" />
<label for="rejectalldefer">Reject all comments marked <em>Defer</em></label>
<br />
<TMPL_LOOP COMMENTS>
<div>
<div>
<TMPL_VAR VIEW>
</div>
<input type="radio" value="Defer" name="<TMPL_VAR ID>" checked="checked" />
<label for="Defer">Defer</label>
<input type="radio" value="Accept" name="<TMPL_VAR ID>" />
<label for="Accept">Accept</label>
<input type="radio" value="Reject" name="<TMPL_VAR ID>" />
<label for="Reject">Reject</label>
</div>
<br />
</TMPL_LOOP>
<input type="submit" value="Submit" />
<input type="checkbox" name="rejectalldefer" value="1" />
<label for="rejectalldefer">Reject all comments marked <em>Defer</em></label>
</form>
<TMPL_ELSE>
<p>
No comments need moderation at this time.
</p>
</TMPL_IF>