From ecb15c7dcb69a0579554555643aa33f6c1322eb0 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 --- inc/config.php | 3 +++ templates/banned.html | 2 ++ 2 files changed, 5 insertions(+) diff --git a/inc/config.php b/inc/config.php index ca208209..2406726e 100644 --- a/inc/config.php +++ b/inc/config.php @@ -747,6 +747,9 @@ // 'bottom' => '', // ); + // Optional message to display on ban pages. For example, you could include a link to email an admin or join an IRC channel to be unbanned. + $config['ban_page_message'] = ''; + /* * ==================== * 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 %}