Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
lolo888
ISPConfig 3
Commits
b38ec6dd
Commit
b38ec6dd
authored
Jan 19, 2009
by
tbrehm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
allow empty hostname field for several dns record types.
parent
0461869c
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
14 additions
and
28 deletions
+14
-28
interface/web/dns/form/dns_a.tform.php
interface/web/dns/form/dns_a.tform.php
+2
-4
interface/web/dns/form/dns_cname.tform.php
interface/web/dns/form/dns_cname.tform.php
+2
-4
interface/web/dns/form/dns_mx.tform.php
interface/web/dns/form/dns_mx.tform.php
+2
-4
interface/web/dns/form/dns_ns.tform.php
interface/web/dns/form/dns_ns.tform.php
+2
-4
interface/web/dns/form/dns_rp.tform.php
interface/web/dns/form/dns_rp.tform.php
+2
-4
interface/web/dns/form/dns_srv.tform.php
interface/web/dns/form/dns_srv.tform.php
+2
-4
interface/web/dns/form/dns_txt.tform.php
interface/web/dns/form/dns_txt.tform.php
+2
-4
No files found.
interface/web/dns/form/dns_a.tform.php
View file @
b38ec6dd
...
...
@@ -77,10 +77,8 @@ $form["tabs"]['dns'] = array (
'name'
=>
array
(
'datatype'
=>
'VARCHAR'
,
'formtype'
=>
'TEXT'
,
'validators'
=>
array
(
0
=>
array
(
'type'
=>
'NOTEMPTY'
,
'errmsg'
=>
'name_error_empty'
),
1
=>
array
(
'type'
=>
'REGEX'
,
'regex'
=>
'/^[\w\.\-\*]{1,64}$/'
,
'validators'
=>
array
(
0
=>
array
(
'type'
=>
'REGEX'
,
'regex'
=>
'/^[\w\.\-\*]{0,64}$/'
,
'errmsg'
=>
'name_error_regex'
),
),
'default'
=>
''
,
...
...
interface/web/dns/form/dns_cname.tform.php
View file @
b38ec6dd
...
...
@@ -77,10 +77,8 @@ $form["tabs"]['dns'] = array (
'name'
=>
array
(
'datatype'
=>
'VARCHAR'
,
'formtype'
=>
'TEXT'
,
'validators'
=>
array
(
0
=>
array
(
'type'
=>
'NOTEMPTY'
,
'errmsg'
=>
'name_error_empty'
),
1
=>
array
(
'type'
=>
'REGEX'
,
'regex'
=>
'/^[\w\.\-]{1,64}$/'
,
'validators'
=>
array
(
0
=>
array
(
'type'
=>
'REGEX'
,
'regex'
=>
'/^[\w\.\-]{0,64}$/'
,
'errmsg'
=>
'name_error_regex'
),
),
'default'
=>
''
,
...
...
interface/web/dns/form/dns_mx.tform.php
View file @
b38ec6dd
...
...
@@ -77,10 +77,8 @@ $form["tabs"]['dns'] = array (
'name'
=>
array
(
'datatype'
=>
'VARCHAR'
,
'formtype'
=>
'TEXT'
,
'validators'
=>
array
(
0
=>
array
(
'type'
=>
'NOTEMPTY'
,
'errmsg'
=>
'name_error_empty'
),
1
=>
array
(
'type'
=>
'REGEX'
,
'regex'
=>
'/^[\w\.\-]{1,255}$/'
,
'validators'
=>
array
(
0
=>
array
(
'type'
=>
'REGEX'
,
'regex'
=>
'/^[\w\.\-]{0,255}$/'
,
'errmsg'
=>
'name_error_regex'
),
),
'default'
=>
''
,
...
...
interface/web/dns/form/dns_ns.tform.php
View file @
b38ec6dd
...
...
@@ -77,10 +77,8 @@ $form["tabs"]['dns'] = array (
'name'
=>
array
(
'datatype'
=>
'VARCHAR'
,
'formtype'
=>
'TEXT'
,
'validators'
=>
array
(
0
=>
array
(
'type'
=>
'NOTEMPTY'
,
'errmsg'
=>
'name_error_empty'
),
1
=>
array
(
'type'
=>
'REGEX'
,
'regex'
=>
'/^[\w\.\-]{1,64}$/'
,
'validators'
=>
array
(
0
=>
array
(
'type'
=>
'REGEX'
,
'regex'
=>
'/^[\w\.\-]{0,64}$/'
,
'errmsg'
=>
'name_error_regex'
),
),
'default'
=>
''
,
...
...
interface/web/dns/form/dns_rp.tform.php
View file @
b38ec6dd
...
...
@@ -77,10 +77,8 @@ $form["tabs"]['dns'] = array (
'name'
=>
array
(
'datatype'
=>
'VARCHAR'
,
'formtype'
=>
'TEXT'
,
'validators'
=>
array
(
0
=>
array
(
'type'
=>
'NOTEMPTY'
,
'errmsg'
=>
'name_error_empty'
),
1
=>
array
(
'type'
=>
'REGEX'
,
'regex'
=>
'/^[\w\.\-]{1,64}$/'
,
'validators'
=>
array
(
0
=>
array
(
'type'
=>
'REGEX'
,
'regex'
=>
'/^[\w\.\-]{0,64}$/'
,
'errmsg'
=>
'name_error_regex'
),
),
'default'
=>
''
,
...
...
interface/web/dns/form/dns_srv.tform.php
View file @
b38ec6dd
...
...
@@ -77,10 +77,8 @@ $form["tabs"]['dns'] = array (
'name'
=>
array
(
'datatype'
=>
'VARCHAR'
,
'formtype'
=>
'TEXT'
,
'validators'
=>
array
(
0
=>
array
(
'type'
=>
'NOTEMPTY'
,
'errmsg'
=>
'name_error_empty'
),
1
=>
array
(
'type'
=>
'REGEX'
,
'regex'
=>
'/^[\w\.\-]{1,64}$/'
,
'validators'
=>
array
(
0
=>
array
(
'type'
=>
'REGEX'
,
'regex'
=>
'/^[\w\.\-]{0,64}$/'
,
'errmsg'
=>
'name_error_regex'
),
),
'default'
=>
''
,
...
...
interface/web/dns/form/dns_txt.tform.php
View file @
b38ec6dd
...
...
@@ -77,10 +77,8 @@ $form["tabs"]['dns'] = array (
'name'
=>
array
(
'datatype'
=>
'VARCHAR'
,
'formtype'
=>
'TEXT'
,
'validators'
=>
array
(
0
=>
array
(
'type'
=>
'NOTEMPTY'
,
'errmsg'
=>
'name_error_empty'
),
1
=>
array
(
'type'
=>
'REGEX'
,
'regex'
=>
'/^[\w\.\-]{1,64}$/'
,
'validators'
=>
array
(
0
=>
array
(
'type'
=>
'REGEX'
,
'regex'
=>
'/^[\w\.\-]{0,64}$/'
,
'errmsg'
=>
'name_error_regex'
),
),
'default'
=>
''
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment