diff options
| author | ctrlcctrlv <wizardchan@hush.com> | 2013-08-09 19:52:19 +0000 |
|---|---|---|
| committer | ctrlcctrlv <wizardchan@hush.com> | 2013-08-09 19:52:19 +0000 |
| commit | ecb15c7dcb69a0579554555643aa33f6c1322eb0 (patch) | |
| tree | 36d8c67491ba3ca7c5dcf46e090d494106c75f4a | |
| parent | 379eb7d553bca9617b9ae08cf2cb7716f438ff7a (diff) | |
Option to have a message on the ban page
| -rw-r--r-- | inc/config.php | 3 | ||||
| -rw-r--r-- | templates/banned.html | 2 |
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 %} |
