Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
f818412d
Unverified
Commit
f818412d
authored
Jan 18, 2023
by
Helmo
Browse files
Selecting a dnssec algarithm should imply wanting to sign the zone,
#6451
parent
d53109aa
Changes
2
Hide whitespace changes
Inline
Side-by-side
interface/lib/classes/tform_base.inc.php
View file @
f818412d
...
...
@@ -560,8 +560,12 @@ class tform_base {
foreach
(
$vals
as
$tvl
)
{
if
(
trim
(
$tvl
)
==
trim
(
$k
))
$checked
=
' CHECKED'
;
}
$datacheckfields
=
''
;
if
(
isset
(
$field
[
'data-check-fields'
]))
{
$datacheckfields
=
" data-check-fields=
\"
{
$field
[
'data-check-fields'
]
}
\"
"
;
}
// $out .= "<label for=\"".$key."[]\" class=\"inlineLabel\"><input name=\"".$key."[]\" id=\"".$key."[]\" value=\"$k\" type=\"checkbox\" $checked /> $v</label>\r\n";
$out
.
=
"<label for=
\"
"
.
$key
.
$elementNo
.
"
\"
class=
\"
inlineLabel
\"
><input name=
\"
"
.
$key
.
"[]
\"
id=
\"
"
.
$key
.
$elementNo
.
"
\"
value=
\"
$k
\"
type=
\"
checkbox
\"
$checked
/>
$v
</label>"
;
$out
.
=
"<label for=
\"
"
.
$key
.
$elementNo
.
"
\"
class=
\"
inlineLabel
\"
$datacheckfields
><input name=
\"
"
.
$key
.
"[]
\"
id=
\"
"
.
$key
.
$elementNo
.
"
\"
value=
\"
$k
\"
type=
\"
checkbox
\"
$checked
/>
$v
</label>"
;
if
(
isset
(
$field
[
'render_inline'
])
&&
$field
[
'render_inline'
]
==
'n'
)
{
$out
.
=
"<br/>
\r\n
"
;
}
...
...
interface/web/dns/form/dns_soa.tform.php
View file @
f818412d
...
...
@@ -302,6 +302,7 @@ $form["tabs"]['dns_soa'] = array (
'separator'
=>
','
,
'default'
=>
'ECDSAP256SHA256'
,
'value'
=>
array
(
'NSEC3RSASHA1'
=>
'7 (NSEC3RSASHA1)'
,
'ECDSAP256SHA256'
=>
'13 (ECDSAP256SHA256)'
),
'data-check-fields'
=>
'dnssec_wanted'
,
'width'
=>
'30'
,
'maxlength'
=>
'255'
),
...
...
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