1
0
Fork 0
gnuviechadmin-historic/php/usertypes.php
Jan Dittberner a35d786f5b User information separated to extra file
git-svn-id: file:///home/www/usr01/svn/gnuviechadmin/gnuviech.info/gnuviechadmin/trunk@25 a67ec6bc-e5d5-0310-a910-815c51eb3124
2003-12-20 13:47:49 +00:00

24 lines
No EOL
403 B
PHP

<?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");
}
}
?>