X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2FObj%2Fuser.phh;h=22f8f010ad221837e2ad794b250f9adf387b239a;hb=106cdff81cb1cd42de2bc38ea81d0b37bd301f1f;hp=47549699e7f9b545173b03e416b2027474ecc193;hpb=43b825479e2c58fe49b714e8d09fbbf472b8e662;p=brisk.git diff --git a/web/Obj/user.phh b/web/Obj/user.phh index 4754969..22f8f01 100644 --- a/web/Obj/user.phh +++ b/web/Obj/user.phh @@ -60,14 +60,19 @@ define('USER_FLAG_TY_SUPER', 0x020000); // done define('USER_FLAG_TY_CERT', 0x040000); // done // ... other usefull status ... define('USER_FLAG_TY_FIRONLY', 0x200000); // done -// define('USER_FLAG_TY_free-to-use', 0x400000); // done +define('USER_FLAG_TY_ADMIN', 0x400000); // done define('USER_FLAG_TY_DISABLE', 0x800000); // done // ... reasons for disabling account ... -define('USER_DIS_REA_INVMAIL', 1); -define('USER_DIS_REA_LICENCE', 2); -define('USER_DIS_REA_BANNED', 3); +define('USER_DIS_REA_NONE', 0); +define('USER_DIS_REA_INVMAIL', 1); +define('USER_DIS_REA_LICENCE', 2); +define('USER_DIS_REA_BANNED', 3); define('USER_DIS_REA_MALICIOUS', 4); +define('USER_DIS_REA_NU_MAILED', 5); // new user: mail sent to be confirmed +define('USER_DIS_REA_NU_TOBECHK', 6); // new user: name verification + + // 240 is the right value, 600 is for fwrite error test define('RD_ENDTIME_DELTA', 240);