diff options
| author | ctrlcctrlv <wizardchan@hush.com> | 2013-08-09 19:52:19 +0000 |
|---|---|---|
| committer | Michael Foster <savetheinternet@tinyboard.org> | 2013-08-11 21:29:02 +1000 |
| commit | 39f542704b4df6c302915b0b21e283906bf58ed1 (patch) | |
| tree | ea2e56dd15e902dd69f8e1b6d9289b6488cae88e | |
| parent | 38c9ac65d8fb110c7977638b84775c3f064b8378 (diff) | |
Option to have a message on the ban page
Conflicts:
inc/config.php
| -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 %} |
