USER_FLAG_TY_SUSPEND and _DISABLE added
authorMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Wed, 2 Feb 2011 07:24:07 +0000 (08:24 +0100)
committerMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Wed, 2 Feb 2011 07:24:07 +0000 (08:24 +0100)
web/Obj/brisk.phh

index f9f54f0..5be9eac 100644 (file)
@@ -588,9 +588,12 @@ define(USER_FLAG_S_MOP,   0xb00); // done
 define(USER_FLAG_S_ALL,   0xf00); // done
 
 /* type of user normal, supporter etc ... */
-define(USER_FLAG_TY_ALL,   0xf0000); // done
-define(USER_FLAG_TY_NORM,  0x10000); // done
-define(USER_FLAG_TY_SUPER, 0x20000); // done
+define(USER_FLAG_TY_ALL,     0xff0000); // done
+define(USER_FLAG_TY_NORM,    0x010000); // done
+define(USER_FLAG_TY_SUPER,   0x020000); // done
+//  ... other usefull status ...
+define(USER_FLAG_TY_SUSPEND, 0x400000); // done
+define(USER_FLAG_TY_DISABLE, 0x800000); // done
 
 class User {
   var $name;       // name of the user