summaryrefslogtreecommitdiff
path: root/inc/config.php
diff options
context:
space:
mode:
authorMichael Foster <savetheinternet@tinyboard.org>2013-07-24 11:30:01 -0400
committerMichael Foster <savetheinternet@tinyboard.org>2013-07-24 11:30:01 -0400
commit33a1c00bd51618a4b54fd6fdab721aaaa03bfd33 (patch)
treeef77272e6ca72a73c63b882154f132d5b7df5d4d /inc/config.php
parent6c2c18514ee49d4d9e20c8d8ed7f3e0fa3c61307 (diff)
%length% in public ban messages
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 b32f4266..98e127b3 100644
--- a/inc/config.php
+++ b/inc/config.php
@@ -879,8 +879,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>';