diff --git a/inc/instance-config.php b/inc/instance-config.php index 0be062b6..617c4806 100644 --- a/inc/instance-config.php +++ b/inc/instance-config.php @@ -105,7 +105,7 @@ $config['thread_subject_in_title'] = true; // this functionality is permanently disabled. $config['spam']['enabled'] = false; $config['spam_noticer']['enabled'] = true; -$config['spam_noticer']['base_url'] = 'http://192.168.4.147:8888'; +$config['spam_noticer']['base_url'] = 'http://192.168.4.6:8888'; /* * Basic captcha. See also: captchaconfig.php diff --git a/stylesheets/ban_form.css b/stylesheets/ban_form.css index 9fd57533..5e41074e 100644 --- a/stylesheets/ban_form.css +++ b/stylesheets/ban_form.css @@ -1,11 +1,12 @@ /* Show the table when "Ban" checkbox is checked */ -input[type="checkbox"]#checkbox-ban:checked ~ .ban-form { - /* display: table; */ +#checkbox-ban:checked ~ .ban-form, +#checkbox-ban-content:checked ~ .postcontainer { filter: grayscale(0%); } /* Hide the table by default */ -.ban-form { +.ban-form, +.postcontainer { filter: grayscale(100%); } diff --git a/templates/ban_post_content_form.html b/templates/ban_post_content_form.html index 15f740bf..27ece534 100644 --- a/templates/ban_post_content_form.html +++ b/templates/ban_post_content_form.html @@ -28,6 +28,8 @@ {% if post.modifiers['warning message'] %} {{ config.mod.warning_message|sprintf(post.modifiers['warning message']) }} {% endif %} + + diff --git a/templates/mod/ban_form.html b/templates/mod/ban_form.html index 1a5ee96c..bef9116f 100644 --- a/templates/mod/ban_form.html +++ b/templates/mod/ban_form.html @@ -21,13 +21,13 @@ {% endif %} {% if spamnoticer %} - + - + - + {% endif %} diff --git a/templates/post/fileinfo.html b/templates/post/fileinfo.html index 40cb8345..33af5552 100644 --- a/templates/post/fileinfo.html +++ b/templates/post/fileinfo.html @@ -28,6 +28,10 @@ {% endif %} {% endif %} ) + {% if spamnoticer %} + + + {% endif %} {% include "post/image_identification.html" %} {% include "post/file_controls.html" %}

{% include "post/image.html" with {'post':file} %}