]> sipb.mit.edu Git - ikiwiki.git/blob - templates/commentmoderation.tmpl
use adminuser
[ikiwiki.git] / templates / commentmoderation.tmpl
1 <TMPL_IF COMMENTS>
2 <br />
3 <form action="<TMPL_VAR CGIURL>" method="post">
4 <input type="hidden" name="do" value="commentmoderation" />
5 <input type="hidden" name="sid" value="<TMPL_VAR SID>" />
6 <input type="submit" value="Submit" />
7 <input id="rejectalldefer" type="checkbox" name="rejectalldefer" value="1" />
8 <label for="rejectalldefer">Reject all comments marked <em>Defer</em></label>
9 <br />
10 <TMPL_LOOP COMMENTS>
11 <div>
12 <div>
13 <TMPL_VAR VIEW>
14 </div>
15 <input id="defer_<TMPL_VAR ID>" type="radio" value="Defer" name="<TMPL_VAR ID>" checked="checked" />
16 <label for="defer_<TMPL_VAR ID>">Defer</label>
17 <input id="dccept_<TMPL_VAR ID>" type="radio" value="Accept" name="<TMPL_VAR ID>" />
18 <label for="dccept_<TMPL_VAR ID>">Accept</label>
19 <input id="reject_<TMPL_VAR ID>" type="radio" value="Reject" name="<TMPL_VAR ID>" />
20 <label for="reject_<TMPL_VAR ID>">Reject</label>
21 </div>
22 <br />
23 </TMPL_LOOP>
24 <input type="submit" value="Submit" />
25 <input id="rejectalldefer2" type="checkbox" name="rejectalldefer" value="1" />
26 <label for="rejectalldefer2">Reject all comments marked <em>Defer</em></label>
27 </form>
28 <TMPL_ELSE>
29 <p>
30 No comments need moderation at this time.
31 </p>
32 </TMPL_IF>