aboutsummaryrefslogtreecommitdiff
path: root/common.php
diff options
context:
space:
mode:
Diffstat (limited to 'common.php')
-rw-r--r--common.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/common.php b/common.php
new file mode 100644
index 0000000..3433d20
--- /dev/null
+++ b/common.php
@@ -0,0 +1,15 @@
+<?php
+
+# Common data for the various guestbook scripts
+$datadir = "/var/www/data/isopoddotcool/";
+$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.
+$gbform_messages = array (
+ "success" => "<span class='success'>Successfully posted!</span>",
+ "review" => "<span class='warning'>Sumitted for review!</span>",
+ "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