includes/constants.php
changeset 541 acb7e23b6ffa
parent 536 218a627eb53e
child 554 e87390b1f9b0
equal deleted inserted replaced
540:1e4b759da336 541:acb7e23b6ffa
    38 // If this is defined, administrators can edit ACLs regardless of current
    38 // If this is defined, administrators can edit ACLs regardless of current
    39 // permissions. This is enabled by default.
    39 // permissions. This is enabled by default.
    40 define('ACL_ALWAYS_ALLOW_ADMIN_EDIT_ACL', 1);
    40 define('ACL_ALWAYS_ALLOW_ADMIN_EDIT_ACL', 1);
    41 
    41 
    42 // System groups
    42 // System groups
       
    43 define('GROUP_ID_EVERYONE', 1);
    43 define('GROUP_ID_ADMIN', 2);
    44 define('GROUP_ID_ADMIN', 2);
    44 define('GROUP_ID_MOD', 3);
    45 define('GROUP_ID_MOD', 3);
       
    46 
       
    47 // System ranks
       
    48 define('RANK_ID_MEMBER', 1);
       
    49 define('RANK_ID_MOD', 2);
       
    50 define('RANK_ID_ADMIN', 3);
       
    51 define('RANK_ID_GUEST', 4);
    45 
    52 
    46 // Page group types
    53 // Page group types
    47 define('PAGE_GRP_CATLINK', 1);
    54 define('PAGE_GRP_CATLINK', 1);
    48 define('PAGE_GRP_TAGGED', 2);
    55 define('PAGE_GRP_TAGGED', 2);
    49 define('PAGE_GRP_NORMAL', 3);
    56 define('PAGE_GRP_NORMAL', 3);
    50 define('PAGE_GRP_REGEX', 4);
    57 define('PAGE_GRP_REGEX', 4);
    51 
    58 
    52 // Identifier for the default pseudo-language
    59 // Identifier for the default pseudo-language
    53 define('LANG_DEFAULT', 0);
    60 define('LANG_DEFAULT', 0);
       
    61 
       
    62 // Image types
       
    63 define('IMAGE_TYPE_PNG', 1);
       
    64 define('IMAGE_TYPE_GIF', 2);
       
    65 define('IMAGE_TYPE_JPG', 3);
    54 
    66 
    55 //
    67 //
    56 // User types - don't touch these
    68 // User types - don't touch these
    57 //
    69 //
    58 
    70