From de84ca6f755347b2c3fcf87165704a2d9e899d77 Mon Sep 17 00:00:00 2001 From: Michael Save Date: Fri, 20 Apr 2012 21:37:48 +1000 Subject: Multiple improvements: ?/ban/ & ?/ban&delete/ --- templates/mod/ban_form.html | 36 ++++++++++++++++++++++++++++++++++-- 1 file changed, 34 insertions(+), 2 deletions(-) (limited to 'templates') diff --git a/templates/mod/ban_form.html b/templates/mod/ban_form.html index 1b94e725..9d4d6728 100644 --- a/templates/mod/ban_form.html +++ b/templates/mod/ban_form.html @@ -1,15 +1,29 @@ -
+{% if post and board %} + {% set action = '?/' ~ board ~ '/ban/' ~ post %} +{% else %} + {% set action = '?/ban' %} +{% endif %} + + {% if redirect %} {% endif %} + {% if post and board %} + + {% endif %} + @@ -20,6 +34,24 @@ + {% if post and board and not delete %} + + + + + {% endif %}
- + {% if not hide_ip %} + + {% else %} + hidden + {% endif %}
+ + + + + (public; attached to post) + +
-- cgit v1.3