diff --git a/inc/config.php b/inc/config.php index d8a0ead2..62bc72bb 100644 --- a/inc/config.php +++ b/inc/config.php @@ -719,6 +719,10 @@ // Automatically remove unnecessary whitespace when compiling HTML files from templates. $config['minify_html'] = true; + // Optional HTML to append to "You are banned" pages. For example, you could include instructions and/or + // a link to an email address or IRC chat room to appeal the ban. + $config['ban_page_extra'] = ''; + /* * ==================== * Javascript diff --git a/templates/banned.html b/templates/banned.html index e7b626f6..b052cd41 100644 --- a/templates/banned.html +++ b/templates/banned.html @@ -76,6 +76,8 @@
{% trans %}Your IP address is{% endtrans %} {{ ban.ip }}.
+ +{{ config.ban_page_message }}
{% endfilter %}