From 39f542704b4df6c302915b0b21e283906bf58ed1 Mon Sep 17 00:00:00 2001 From: ctrlcctrlv Date: Fri, 9 Aug 2013 19:52:19 +0000 Subject: [PATCH] Option to have a message on the ban page Conflicts: inc/config.php --- inc/config.php | 4 ++++ templates/banned.html | 2 ++ 2 files changed, 6 insertions(+) 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 %}