Commit e952f094 authored by Till Brehm's avatar Till Brehm
Browse files

Merge branch '6451-data-check-fields' into 'develop'

Selecting a dnssec algorithm should imply wanting to sign the zone, #6451

Closes #6451

See merge request ispconfig/ispconfig3!1688
parents 4590e73c f818412d
Pipeline #13067 passed with stage
in 7 seconds
......@@ -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";
}
......
......@@ -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'
),
......
Supports Markdown
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