Skip to content

Commit 5ebfd81

Browse files
committed
Fixed a bug in Email regex for DNS Manager.
1 parent 0837aff commit 5ebfd81

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

interface/web/dns/form/dns_soa.tform.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
'datatype' => 'VARCHAR',
9595
'formtype' => 'TEXT',
9696
'validators' => array ( 0 => array ( 'type' => 'REGEX',
97-
'regex' => '/^[\w\.\-]{0,64}$/',
97+
'regex' => '/^[\w\.\-]{1,64}$/',
9898
'errmsg'=> 'ns_error_regex'),
9999
),
100100
'default' => '',
@@ -107,8 +107,8 @@
107107
'formtype' => 'TEXT',
108108
'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY',
109109
'errmsg'=> 'mbox_error_empty'),
110-
0 => array ( 'type' => 'REGEX',
111-
'regex' => '/^[\w\.\-]{0,64}$/',
110+
1 => array ( 'type' => 'REGEX',
111+
'regex' => '/^[\w\.\-]{0,64}\.$/',
112112
'errmsg'=> 'mbox_error_regex'),
113113
),
114114
'default' => '',

interface/web/sites/lib/lang/en_database.lng

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ $wb["database_name_txt"] = 'Database name';
55
$wb["database_user_txt"] = 'Database user';
66
$wb["database_password_txt"] = 'Database password';
77
$wb["remote_access_txt"] = 'Remote Access';
8+
$wb["client_txt"] = 'Client';
89
$wb["active_txt"] = 'Active';
910
$wb["btn_save_txt"] = 'Save';
1011
$wb["btn_cancel_txt"] = 'Cancel';

0 commit comments

Comments
 (0)