aboutsummaryrefslogtreecommitdiff
path: root/templates/commentmoderation.tmpl
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-01-25 18:49:57 -0500
committerJoey Hess <joey@gnu.kitenet.net>2009-01-25 18:49:57 -0500
commit731fc9e7a2ce818f0b7069cf0353931ec2dc8b43 (patch)
tree83397a721ef88fcb4d003330e2afccd72795bf90 /templates/commentmoderation.tmpl
parent2ecb9e8e797d14dbb65c8ad71afb485d89bb6757 (diff)
downloadikiwiki-731fc9e7a2ce818f0b7069cf0353931ec2dc8b43.tar
ikiwiki-731fc9e7a2ce818f0b7069cf0353931ec2dc8b43.tar.gz
comments: Add a moderation web interface.
Diffstat (limited to 'templates/commentmoderation.tmpl')
-rw-r--r--templates/commentmoderation.tmpl23
1 files changed, 23 insertions, 0 deletions
diff --git a/templates/commentmoderation.tmpl b/templates/commentmoderation.tmpl
new file mode 100644
index 000000000..3dadb791b
--- /dev/null
+++ b/templates/commentmoderation.tmpl
@@ -0,0 +1,23 @@
+<TMPL_IF NAME="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">
+<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>
+</div>
+<br />
+</TMPL_LOOP>
+<input type="submit" value="Submit" />
+</form>
+<TMPL_ELSE>
+<p>
+No comments need moderation at this time.
+</p>
+</TMPL_IF>