diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-11-27 11:20:59 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-11-27 12:26:58 +0200 |
commit | 193673fa4ca986a8503dded44019f3b0eac30084 (patch) | |
tree | 441a292813ee0b009b995da8a28cbf9619f29778 /templates/commentmoderation.tmpl | |
parent | 0fcccd0e80382492b7346a2f13ca593577855418 (diff) | |
download | obnam.org-193673fa4ca986a8503dded44019f3b0eac30084.tar.gz |
add local copies of ikiwiki templates
Diffstat (limited to 'templates/commentmoderation.tmpl')
-rw-r--r-- | templates/commentmoderation.tmpl | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/templates/commentmoderation.tmpl b/templates/commentmoderation.tmpl new file mode 100644 index 0000000..dfa63c2 --- /dev/null +++ b/templates/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> |