Commit 5ebfd817 authored by tbrehm's avatar tbrehm
Browse files

Fixed a bug in Email regex for DNS Manager.

parent 0837aff0
......@@ -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' => '',
......
......@@ -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';
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment