diff options
| -rw-r--r-- | inc/config.php | 4 | ||||
| -rw-r--r-- | templates/banned.html | 2 |
2 files changed, 6 insertions, 0 deletions
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 @@ </span> </p> <p>{% trans %}Your IP address is{% endtrans %} <strong>{{ ban.ip }}</strong>.</p> + + <p>{{ config.ban_page_message }}</p> </div> {% endfilter %} |
