summaryrefslogtreecommitdiff
path: root/inc/config.php
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@n0v4.com>2010-12-02 20:55:56 +1100
committerSavetheinternet <savetheinternet@n0v4.com>2010-12-02 20:55:56 +1100
commitcb0912754f826e468b32c178e1abc7739463c494 (patch)
tree001c0561761b2f996af0c07e77548d0ecab0118b /inc/config.php
parent3679f2c78b4ad4c4204738ab0739c9aaad88f751 (diff)
"Create board" page
Diffstat (limited to 'inc/config.php')
-rw-r--r--inc/config.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/inc/config.php b/inc/config.php
index 164c1f1a..3bb24b85 100644
--- a/inc/config.php
+++ b/inc/config.php
@@ -67,6 +67,9 @@
define('ERROR_INVALID', 'Invalid username and/or password.', true);
define('ERROR_INVALIDAFTER', 'Invalid username and/or password. Your user may have been deleted or changed.');
define('ERROR_MALFORMED','Invalid/malformed cookies.', true);
+ define('ERROR_MISSEDAFIELD', 'Your browser didn\'t submit an input when it should have.', true);
+ define('ERROR_REQUIRED', 'The %s field is required.', true);
+ define('ERROR_INVALIDFIELD', 'The %s field was invalid.', true);
// For resizing, max values
define('THUMB_WIDTH', 200, true);
@@ -132,6 +135,10 @@
// The page that is first shown when a moderator logs in. Defaults to the dashboard.
define('MOD_DEFAULT', '/', true);
+ define('MOD_JANITOR', 0, true);
+ define('MOD_MOD', 1, true);
+ define('MOD_ADMIN', 2, true);
+
// A small file in the main directory indicating that the script has been ran and the board(s) have been generated.
// This keeps the script from querying the database and causing strain when not needed.
define('HAS_INSTALLED', '.installed', true);
@@ -139,7 +146,7 @@
// Name of the boards. Typically '/%s/' (/b/, /mu/, etc)
// BOARD_ABBREVIATION - BOARD_TITLE
define('BOARD_ABBREVIATION', '/%s/', true);
-
+
// Automatically convert things like "..." to Unicode characters ("…")
define('AUTO_UNICODE', true, true);
// Use some Wiki-like syntax (''em'', '''strong''', ==Heading==, etc)