Jan Dittberner
a35d786f5b
git-svn-id: file:///home/www/usr01/svn/gnuviechadmin/gnuviech.info/gnuviechadmin/trunk@25 a67ec6bc-e5d5-0310-a910-815c51eb3124
24 lines
No EOL
403 B
PHP
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");
|
|
}
|
|
}
|
|
?>
|