summaryrefslogtreecommitdiff
path: root/srv/templates/commentmoderation.tmpl
diff options
context:
space:
mode:
authorroot <root@piny.svcs.cs.pdx.edu>2009-09-06 04:26:13 -0700
committerroot <root@piny.svcs.cs.pdx.edu>2009-09-06 04:26:13 -0700
commit29355a1653a12742928ce563e4c077a77f67c9f9 (patch)
treea502a34c06c33c08cfb8050527e2c7ae5ceb47ad /srv/templates/commentmoderation.tmpl
parent3d47e7f272d128780a2c6c5d94e4c61d7888c3d1 (diff)
downloadpiny-code-29355a1653a12742928ce563e4c077a77f67c9f9.tar.gz
piny-code-29355a1653a12742928ce563e4c077a77f67c9f9.zip
Import of unversioned piny code.
Diffstat (limited to 'srv/templates/commentmoderation.tmpl')
-rw-r--r--srv/templates/commentmoderation.tmpl29
1 files changed, 29 insertions, 0 deletions
diff --git a/srv/templates/commentmoderation.tmpl b/srv/templates/commentmoderation.tmpl
new file mode 100644
index 0000000..e91d314
--- /dev/null
+++ b/srv/templates/commentmoderation.tmpl
@@ -0,0 +1,29 @@
+<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>" />
+<input type="submit" value="Submit" />
+<input type="checkbox" name="rejectalldefer" value="1" />Reject
+all comments marked <em>Defer</em>
+<br />
+<TMPL_LOOP NAME="COMMENTS">
+<div>
+<div>
+<TMPL_VAR VIEW>
+</div>
+<input type="radio" value="Defer" name="<TMPL_VAR ID>" checked />Defer
+<input type="radio" value="Accept" name="<TMPL_VAR ID>" />Accept
+<input type="radio" value="Reject" name="<TMPL_VAR ID>" />Reject
+</div>
+<br />
+</TMPL_LOOP>
+<input type="submit" value="Submit" />
+<input type="checkbox" name="rejectalldefer" value="1" />Reject
+all comments marked <em>Defer</em>
+</form>
+<TMPL_ELSE>
+<p>
+No comments need moderation at this time.
+</p>
+</TMPL_IF>