From 9988679d567a8bba9bade92dd9524bb012a1fe43 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Sun, 12 Mar 2006 23:19:55 +0000 Subject: - streamlined reports to consist of the feature set we decided upon (Nils, your turn now) - use getenv instead of $_ENV (with $_ENV the case could be wrong) - permission fixes (there was a bug arising with getting permission flags - re-added them and handled roles deletion differently) - implemented max login attempts - changed the expected return parameters for logins/sessions - added acp page for editing report/denial reasons - other fixes here and there git-svn-id: file:///svn/phpbb/trunk@5622 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/constants.php | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) (limited to 'phpBB/includes/constants.php') diff --git a/phpBB/includes/constants.php b/phpBB/includes/constants.php index 82eb84d9b6..de7deb679b 100644 --- a/phpBB/includes/constants.php +++ b/phpBB/includes/constants.php @@ -35,6 +35,15 @@ define('ACL_NO', 0); define('ACL_YES', 1); define('ACL_UNSET', -1); +// Login error codes +define('LOGIN_CONTINUE', 1); +define('LOGIN_BREAK', 2); +define('LOGIN_SUCCESS', 3); +define('LOGIN_ERROR_USERNAME', 10); +define('LOGIN_ERROR_PASSWORD', 11); +define('LOGIN_ERROR_ACTIVE', 12); +define('LOGIN_ERROR_ATTEMPTS', 13); + // Group settings define('GROUP_OPEN', 0); define('GROUP_CLOSED', 1); @@ -83,19 +92,23 @@ define('PRIVMSGS_OUTBOX', -2); define('PRIVMSGS_SENTBOX', -1); define('PRIVMSGS_INBOX', 0); -// Report Types -define('REPORT_POST', 1); -define('REPORT_GENERAL', 2); - // Full Folder Actions define('FULL_FOLDER_NONE', -3); define('FULL_FOLDER_DELETE', -2); define('FULL_FOLDER_HOLD', -1); +// Reason types +define('REPORT_REASON_SPECIAL', 1); +define('REPORT_REASON_NORMAL', 2); + // Download Modes - Attachments define('INLINE_LINK', 1); define('PHYSICAL_LINK', 2); +// Confirm types +define('CONFIRM_REG', 1); +define('CONFIRM_LOGIN', 2); + // Categories - Attachments define('ATTACHMENT_CATEGORY_NONE', 0); define('ATTACHMENT_CATEGORY_IMAGE', 1); // Inline Images -- cgit v1.2.1