From 56821eb375096f6cfd2dc56765ed36b51b892d9e Mon Sep 17 00:00:00 2001 From: Michael Save Date: Thu, 16 Feb 2012 23:07:25 +1100 Subject: allow mods to bypass forced anonymity (and other disabled fields). also fixed some small per-board permission bugs --- templates/post_form.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'templates') diff --git a/templates/post_form.html b/templates/post_form.html index d4dca20c..1b8a3ce1 100644 --- a/templates/post_form.html +++ b/templates/post_form.html @@ -4,7 +4,7 @@ {% if mod %}{% endif %} - {% if not config.field_disable_name %} + {% if not config.field_disable_name or post.mod|hasPermission(config.mod.bypass_field_disable, board.uri) %} @@ -12,7 +12,7 @@ {% endif %} - {% if not config.field_disable_email %} + {% if not config.field_disable_email or post.mod|hasPermission(config.mod.bypass_field_disable, board.uri) %} @@ -86,7 +86,7 @@ {% endif %} - {% if not config.field_disable_password %} + {% if not config.field_disable_password or post.mod|hasPermission(config.mod.bypass_field_disable, board.uri) %} -- cgit v1.3
{% trans %}Name{% endtrans %}
{% trans %}Email{% endtrans %}
{% trans %}Password{% endtrans %}