1
0
Fork 0
gnuviechadmin-historic/php/usertypes.php

24 lines
403 B
PHP
Raw Normal View History

<?php
define("cUSRADMIN",255);
define("cUSRWEB",128);
define("cUSRMAIL",64);
define("cUSRNONE",0);
function get_usertype_name($usertype) {
switch ($usertype) {
case cUSRADMIN:
return _("Administrator");
break;
case cUSRWEB:
return _("Web user");
break;
case cUSRMAIL:
return _("Mail user");
break;
case cUSRNONE:
default:
return _("Unknown user type");
}
}
?>