aboutsummaryrefslogtreecommitdiffstats
path: root/template/default/admin
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2005-08-20 01:52:29 +0000
committerplegall <plg@piwigo.org>2005-08-20 01:52:29 +0000
commit4f261af70758d0080b2fc91aa97522de7d92ea2f (patch)
tree4cf120556999137d4038decfb91d8c345e656043 /template/default/admin
parentfaaf35d63325f312a3180a72aa1c0abca273904d (diff)
- improvement : dedicated page for user comments validation/reject in
administration. (screen is not shared with public part of the gallery). Ability to validate all or reject all in one clic. git-svn-id: http://piwigo.org/svn/trunk@839 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/default/admin')
-rw-r--r--template/default/admin/comments.tpl26
1 files changed, 26 insertions, 0 deletions
diff --git a/template/default/admin/comments.tpl b/template/default/admin/comments.tpl
new file mode 100644
index 000000000..82c8a9ed5
--- /dev/null
+++ b/template/default/admin/comments.tpl
@@ -0,0 +1,26 @@
+<h1>{lang:User comments validation}</h1>
+
+<form method="post" action="{F_ACTION}">
+
+ <input type="hidden" name="list" value="{LIST}" />
+
+ <!-- BEGIN comment -->
+ <div class="comment">
+ <a class="illustration" href="{comment.U_PICTURE}"><img src="{comment.TN_SRC}" /></a>
+ <p class="commentHeader"><strong>{comment.AUTHOR}</strong> - <em>{comment.DATE}</em></p>
+ <blockquote>{comment.CONTENT}</blockquote>
+ <ul class="actions">
+ <li><label><input type="radio" name="action-{comment.ID}" value="reject" />{lang:Reject}</label></li>
+ <li><label><input type="radio" name="action-{comment.ID}" value="validate" />{lang:Validate}</label></li>
+ </ul>
+ </div>
+ <!-- END comment -->
+
+ <p class="bottomButtons">
+ <input type="submit" name="submit" value="{lang:Submit}" />
+ <input type="submit" name="validate-all" value="{lang:Validate All}" />
+ <input type="submit" name="reject-all" value="{lang:Reject All}" />
+ <input type="reset" value="{lang:Reset}" />
+ </p>
+
+</form>