Browse Source

Option to have a message on the ban page

pull/40/head
ctrlcctrlv 11 years ago
parent
commit
ecb15c7dcb
  1. 3
      inc/config.php
  2. 2
      templates/banned.html

3
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

2
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 %}

Loading…
Cancel
Save