aboutsummaryrefslogtreecommitdiff
path: root/common.php
diff options
context:
space:
mode:
Diffstat (limited to 'common.php')
-rw-r--r--common.php9
1 files changed, 6 insertions, 3 deletions
diff --git a/common.php b/common.php
index 3433d20..3100ca9 100644
--- a/common.php
+++ b/common.php
@@ -1,7 +1,8 @@
<?php
-# Common data for the various guestbook scripts
$datadir = "/var/www/data/isopoddotcool/";
+
+# Common data for the various guestbook scripts
$defaultmodstatus = 1; # If 0, all posts will be held for review by default.
# If 1, only posts containing the banned words defined in
# $datadir/bannedwords.json will be held for review.
@@ -11,5 +12,7 @@ $gbform_messages = array (
"botcheckfailed" => "<span class='error'>Bot test failed!</span>",
"noname" => "<span class='error'>Name required!</span>",
"nomessage" => "<span class='error'>Message required!</span>",
- "invalidlink" => "<span class='error'>Invalid link!</span>"
-); \ No newline at end of file
+ "invalidlink" => "<span class='error'>Invalid link!</span>",
+ "banned" => "<span class='error'>You've been banned.</span>"
+);
+?> \ No newline at end of file