diff --git a/interface/web/dns/form/dns_soa.tform.php b/interface/web/dns/form/dns_soa.tform.php index be0a1236f5053aba32aa21031d68b42d872f91f9..e9a8f431d23812067ce37158c00e8d3ab33ca41c 100644 --- a/interface/web/dns/form/dns_soa.tform.php +++ b/interface/web/dns/form/dns_soa.tform.php @@ -94,7 +94,7 @@ $form["tabs"]['dns_soa'] = array ( 'datatype' => 'VARCHAR', 'formtype' => 'TEXT', 'validators' => array ( 0 => array ( 'type' => 'REGEX', - 'regex' => '/^[\w\.\-]{0,64}$/', + 'regex' => '/^[\w\.\-]{1,64}$/', 'errmsg'=> 'ns_error_regex'), ), 'default' => '', @@ -107,8 +107,8 @@ $form["tabs"]['dns_soa'] = array ( 'formtype' => 'TEXT', 'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY', 'errmsg'=> 'mbox_error_empty'), - 0 => array ( 'type' => 'REGEX', - 'regex' => '/^[\w\.\-]{0,64}$/', + 1 => array ( 'type' => 'REGEX', + 'regex' => '/^[\w\.\-]{0,64}\.$/', 'errmsg'=> 'mbox_error_regex'), ), 'default' => '', diff --git a/interface/web/sites/lib/lang/en_database.lng b/interface/web/sites/lib/lang/en_database.lng index 1dafa2061c939cbb2dc39a20e07a190195a21f5b..1399a9ef643931038a0f8e161c8354fccdcbe92d 100644 --- a/interface/web/sites/lib/lang/en_database.lng +++ b/interface/web/sites/lib/lang/en_database.lng @@ -5,6 +5,7 @@ $wb["database_name_txt"] = 'Database name'; $wb["database_user_txt"] = 'Database user'; $wb["database_password_txt"] = 'Database password'; $wb["remote_access_txt"] = 'Remote Access'; +$wb["client_txt"] = 'Client'; $wb["active_txt"] = 'Active'; $wb["btn_save_txt"] = 'Save'; $wb["btn_cancel_txt"] = 'Cancel';