Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
lolo888
ISPConfig 3
Commits
b38ec6dd
Commit
b38ec6dd
authored
Jan 19, 2009
by
tbrehm
Browse files
allow empty hostname field for several dns record types.
parent
0461869c
Changes
7
Hide whitespace changes
Inline
Side-by-side
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
Supports
Markdown
0%
Try again
or
attach a new 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