]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - templates/commentmoderation.tmpl
use the ikiwiki userdb outside of the ikiwiki edition access control
[git.ikiwiki.info.git] / templates / commentmoderation.tmpl
index 3dadb791bbf4854e28adff1cd2e21c1713ef89da..10f2b36df7ca5da3770ad14bd9654e67b14a3af0 100644 (file)
@@ -1,20 +1,29 @@
-<TMPL_IF NAME="COMMENTS">
+<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>" />
-<TMPL_LOOP NAME="COMMENTS">
+<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>Defer</input>
-<input type="radio" value="Accept" name="<TMPL_VAR ID>">Accept</input>
-<input type="radio" value="Reject" name="<TMPL_VAR ID>">Reject</input>
+<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>