summaryrefslogtreecommitdiff
path: root/inc/config.php
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2013-07-24 16:24:20 -0400
committerczaks <marcin@6irc.net>2013-07-24 16:24:20 -0400
commit114e34eea5068af178761d591fdb8718ca2ae8ca (patch)
treed352fe4fd13df8b89232d1d889b567cb2db8faca /inc/config.php
parent4e609da2b75f5fe6d694617735cad77014a504f1 (diff)
parent33a1c00bd51618a4b54fd6fdab721aaaa03bfd33 (diff)
Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts: install.php
Diffstat (limited to 'inc/config.php')
-rw-r--r--inc/config.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/inc/config.php b/inc/config.php
index a4914252..adfaa5e8 100644
--- a/inc/config.php
+++ b/inc/config.php
@@ -906,8 +906,10 @@
// Check public ban message by default
$config['mod']['check_ban_message'] = false;
- // Default public ban message
+ // Default public ban message.
+ // In public ban messages, %length% is replaced with "for x days" or "permanently" (with %LENGTH% being the uppercase equivalent).
$config['mod']['default_ban_message'] = 'USER WAS BANNED FOR THIS POST';
+ // $config['mod']['default_ban_message'] = 'USER WAS BANNED %LENGTH% FOR THIS POST'; // Include length in ban message
// What to append to the post for public bans ("%s" is the message)
$config['mod']['ban_message'] = '<span class="public_ban">(%s)</span>';