Reverted of changes in 1704, see ticket #160
[mailer.git] / inc / databases.php
index a3e8c4cb149faf9bb34c16358384703a2cc6236e..35a86969aae4351aa2aff8ecd28f5e378a8b1dff 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /************************************************************************
- * MXChange v0.2.1                                    Start: 08/25/2003 *
- * ===============                              Last change: 05/29/2004 *
+ * Mailer v0.2.1-FINAL                                Start: 08/25/2003 *
+ * ===================                          Last change: 05/29/2004 *
  *                                                                      *
  * -------------------------------------------------------------------- *
  * File              : databases.php                                    *
@@ -18,6 +18,7 @@
  * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
+ * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
  * For more information visit: http://www.mxchange.org                  *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -42,48 +43,51 @@ if (!defined('__SECURITY')) {
 } // END - if
 
 // System-wide return codes
-addCode('WRONG_PASS'       , 0x001);
-addCode('WRONG_ID'         , 0x002);
-addCode('ID_LOCKED'        , 0x003);
-addCode('ID_UNCONFIRMED'   , 0x004);
-addCode('UNKNOWN_STATUS'   , 0x005);
-addCode('NO_COOKIES'       , 0x006);
-addCode('CNTR_FAILED'      , 0x008);
-addCode('LOGOUT_DONE'      , 0x008);
-addCode('LOGOUT_FAILED'    , 0x009);
-addCode('URL_TLOCK'        , 0x00a);
-addCode('URL_FOUND'        , 0x00b);
-addCode('OVERLENGTH'       , 0x00c);
-addCode('SUBJ_URL'         , 0x00d);
-addCode('BLIST_URL'        , 0x00e);
-addCode('NO_RECS_LEFT'     , 0x00f);
-addCode('INVALID_TAGS'     , 0x010);
-addCode('MORE_POINTS'      , 0x011);
-addCode('COOKIES_DISABLED' , 0x012);
-addCode('DATA_INVALID'     , 0x013);
-addCode('POSSIBLE_INVALID' , 0x014);
-addCode('ACCOUNT_LOCKED'   , 0x015);
-addCode('USER_404'         , 0x016);
-addCode('STATS_404'        , 0x017);
-addCode('ALREADY_CONFIRMED', 0x018);
-addCode('ERROR_MAILID'     , 0x019);
-addCode('EXTENSION_PROBLEM', 0x01a);
-addCode('MORE_RECEIVERS1'  , 0x01b);
-addCode('MORE_RECEIVERS2'  , 0x01c);
-addCode('MORE_RECEIVERS3'  , 0x01d);
-addCode('INVALID_URL'      , 0x01e);
-addCode('MENU_NOT_VALID'   , 0x01f);
-addCode('LOGIN_FAILED'     , 0x020);
-addCode('BEG_SAME_AS_OWN'  , 0x021);
-addCode('UNHANDLED_STATUS' , 0x022);
-addCode('MODULE_MEM_ONLY'  , 0x023);
+addCode('WRONG_PASS'         , 0x001);
+addCode('WRONG_ID'           , 0x002);
+addCode('ACCOUNT_LOCKED'     , 0x003);
+addCode('ACCOUNT_UNCONFIRMED', 0x004);
+addCode('UNKNOWN_STATUS'     , 0x005);
+addCode('NO_MAIL_TYPE'       , 0x006);
+addCode('CNTR_FAILED'        , 0x008);
+addCode('LOGOUT_DONE'        , 0x008);
+addCode('LOGOUT_FAILED'      , 0x009);
+addCode('URL_TLOCK'          , 0x00a);
+addCode('URL_FOUND'          , 0x00b);
+addCode('OVERLENGTH'         , 0x00c);
+addCode('SUBJ_URL'           , 0x00d);
+addCode('BLIST_URL'          , 0x00e);
+addCode('NO_RECS_LEFT'       , 0x00f);
+addCode('INVALID_TAGS'       , 0x010);
+addCode('MORE_POINTS'        , 0x011);
+addCode('COOKIES_DISABLED'   , 0x012);
+addCode('DATA_INVALID'       , 0x013);
+addCode('POSSIBLE_INVALID'   , 0x014);
+addCode('USER_404'           , 0x016);
+addCode('STATS_404'          , 0x017);
+addCode('ALREADY_CONFIRMED'  , 0x018);
+addCode('ERROR_MAILID'       , 0x019);
+addCode('EXTENSION_PROBLEM'  , 0x01a);
+addCode('MORE_RECEIVERS1'    , 0x01b);
+addCode('MORE_RECEIVERS2'    , 0x01c);
+addCode('MORE_RECEIVERS3'    , 0x01d);
+addCode('INVALID_URL'        , 0x01e);
+addCode('MENU_NOT_VALID'     , 0x01f);
+addCode('LOGIN_FAILED'       , 0x020);
+addCode('BEG_SAME_AS_OWN'    , 0x021);
+addCode('UNHANDLED_STATUS'   , 0x022);
+addCode('MODULE_MEM_ONLY'    , 0x023);
+addCode('UNKNOWN_ERROR'      , 0x024);
+
+// Full version
+setConfigEntry('FULL_VERSION', '0.2.1-FINAL');
 
 // Server-URL (DO NOT CHANGE THIS OR YOU CANNOT CHECK FOR UPDATES/EXTENSIONS!)
 setConfigEntry('SERVER_URL', 'http://www.mxchange.org');
 
 // Replacement strings
 $GLOBALS['replacer'] = array(
-       'userid'  => '%userid%',        // User-ID
+       'userid'  => '%userid%',        // Member id
        'surname' => '%vorname%',       // Surname
        'family'  => '%nachname%',      // Family name
        'gender'  => '%anrede%',        // Gender
@@ -111,5 +115,5 @@ setConfigEntry('ENCRYPT_SEPERATOR', ':');
 // Extra title is empty by default
 setExtraTitle('');
 
-//
+// [EOF]
 ?>