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:
parent
379eb7d553
commit
ecb15c7dcb
@ -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
|
||||||
|
@ -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 %}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user