summaryrefslogtreecommitdiff
path: root/commentmoderation.tmpl
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2010-07-20 23:43:29 +0200
committerJonas Smedegaard <dr@jones.dk>2010-07-20 23:43:29 +0200
commitcf42de536ad31aa8f781a316936888af9cac9dbe (patch)
treeca89f67f6f4ca0f75f482f8346aa9089be55a704 /commentmoderation.tmpl
parent605cb4391d31b3f3ab5f95f97c4b5a6dcb0685e9 (diff)
parent3e2f923e92cf5757631a0ed28223a68d38e71f6f (diff)
Merge branch 'scs' into allinone-nonedit
Conflicts (manually resolved): misc.tmpl page.tmpl
Diffstat (limited to 'commentmoderation.tmpl')
-rw-r--r--commentmoderation.tmpl32
1 files changed, 32 insertions, 0 deletions
diff --git a/commentmoderation.tmpl b/commentmoderation.tmpl
new file mode 100644
index 0000000..dfa63c2
--- /dev/null
+++ b/commentmoderation.tmpl
@@ -0,0 +1,32 @@
+<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>" />
+<input type="submit" value="Submit" />
+<input id="rejectalldefer" 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 id="defer_<TMPL_VAR ID>" type="radio" value="Defer" name="<TMPL_VAR ID>" checked="checked" />
+<label for="defer_<TMPL_VAR ID>">Defer</label>
+<input id="dccept_<TMPL_VAR ID>" type="radio" value="Accept" name="<TMPL_VAR ID>" />
+<label for="dccept_<TMPL_VAR ID>">Accept</label>
+<input id="reject_<TMPL_VAR ID>" type="radio" value="Reject" name="<TMPL_VAR ID>" />
+<label for="reject_<TMPL_VAR ID>">Reject</label>
+</div>
+<br />
+</TMPL_LOOP>
+<input type="submit" value="Submit" />
+<input id="rejectalldefer2" type="checkbox" name="rejectalldefer" value="1" />
+<label for="rejectalldefer2">Reject all comments marked <em>Defer</em></label>
+</form>
+<TMPL_ELSE>
+<p>
+No comments need moderation at this time.
+</p>
+</TMPL_IF>