summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inc/config.php3
-rw-r--r--templates/banned.html2
2 files changed, 5 insertions, 0 deletions
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 @@
</span>
</p>
<p>{% trans %}Your IP address is{% endtrans %} <strong>{{ ban.ip }}</strong>.</p>
+
+ <p>{{ config.ban_page_message }}</p>
</div>
{% endfilter %}