1
0
Fork 0
gnuviechadmin-historic/php/domainstatustypes.php
Jan Dittberner 2b0cbdf707 Domain list
git-svn-id: file:///home/www/usr01/svn/gnuviechadmin/gnuviech.info/gnuviechadmin/trunk@26 a67ec6bc-e5d5-0310-a910-815c51eb3124
2003-12-20 14:23:33 +00:00

26 lines
No EOL
446 B
PHP

<?php
define("cDOMPENDING", 1);
define("cDOMREG", 2);
define("cDOMCON", 4);
define("cDOMKK", 8);
function get_domainstatustype_name($typenum) {
switch ($typenum) {
case cDOMPENDING:
return _("pending");
break;
case cDOMREG:
return _("registered");
break;
case cDOMCON:
return _("connected");
break;
case cDOMKK:
return _("in transfer");
break;
default:
return _("Unknown domain status");
}
}
?>