1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-01-31 04:13:49 +01:00

Option to have a message on the ban page

This commit is contained in:
ctrlcctrlv 2013-08-09 19:52:19 +00:00
parent 379eb7d553
commit ecb15c7dcb
2 changed files with 5 additions and 0 deletions

View File

@ -747,6 +747,9 @@
// 'bottom' => '', // '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 * Javascript

View File

@ -76,6 +76,8 @@
</span> </span>
</p> </p>
<p>{% trans %}Your IP address is{% endtrans %} <strong>{{ ban.ip }}</strong>.</p> <p>{% trans %}Your IP address is{% endtrans %} <strong>{{ ban.ip }}</strong>.</p>
<p>{{ config.ban_page_message }}</p>
</div> </div>
{% endfilter %} {% endfilter %}