26 lines
446 B
PHP
26 lines
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");
|
||
|
}
|
||
|
}
|
||
|
?>
|