diff -r 34b2d49f52c6 -r 455405c757e1 add_zone_master.php --- a/add_zone_master.php Sat Mar 29 18:01:53 2008 +0000 +++ b/add_zone_master.php Sun Mar 30 09:20:38 2008 +0000 @@ -50,17 +50,17 @@ if(!$empty) { $empty = 0; if(!eregi('in-addr.arpa', $domain) && (!is_valid_ip($webip) || !is_valid_ip($mailip)) ) { - error(_('Web or mail ip is invalid!')); + error(_('IP address of web- or mailserver is invalid.')); $error = "1"; } } if (!$error) { if (!is_valid_domain($domain)) { - error(_('Zone name is invalid!')); + error(ERR_DOMAIN_INVALID); $error = "1"; } elseif (domain_exists($domain)) { - error(_('Zone already exists!!')); + error(ERR_DOMAIN_EXISTS); $error = "1"; } else { if (add_domain($domain, $owner, $webip, $mailip, $empty, $dom_type, '')) { @@ -73,11 +73,11 @@ } } -echo "
" . _("You do not have the permission to add a new master zone.") . "
\n"; -} else { $available_zone_types = array("MASTER", "NATIVE"); $users = show_users(); @@ -90,13 +90,13 @@ echo " \n"; echo " \n"; echo "