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

26 lines
446 B
PHP
Raw Normal View History

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