Skip to content

Commit 84bc40b

Browse files
author
Till Brehm
committed
Merge branch 'stable-3.1' into 'stable-3.1'
Incorrect names of fields in DNS DMARC form (Fixes #4316) See merge request !633
2 parents 1291ff8 + 70182c0 commit 84bc40b

File tree

3 files changed

+5
-10
lines changed

3 files changed

+5
-10
lines changed

install/tpl/debian_postfix.conf.master

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ virtual_uid_maps = mysql:/etc/postfix/mysql-virtual_uids.cf
99
virtual_gid_maps = mysql:/etc/postfix/mysql-virtual_gids.cf
1010
sender_bcc_maps = proxy:mysql:{config_dir}/mysql-virtual_outgoing_bcc.cf
1111
inet_protocols=all
12+
inet_interfaces = all
1213
smtpd_sasl_auth_enable = yes
1314
broken_sasl_auth_clients = yes
1415
smtpd_sasl_authenticated_header = yes

interface/web/dns/dns_dmarc_edit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ function onShowEnd() {
9494
$this->id = 1;
9595
$old_data = strtolower($rec['data']);
9696
$app->tpl->setVar("data", $old_data);
97-
if ($rec['active'] == 'Y') $app->tpl->setVar("active", "CHECKED");
97+
if ($rec['active'] == 'Y') $app->tpl->setVar("active", "CHECKED"); else $app->tpl->setVar("active", "UNCHECKED");
9898
$dmarc_rua = '';
9999
$dmarc_ruf = '';
100100
$dmac_rf = '';

interface/web/dns/templates/dns_dmarc_edit.htm

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ <h1><tmpl_var name="list_head_txt"></h1>
5151
<div class="form-group">
5252
<label class="col-sm-2 control-label control-label-plain"></label>
5353
<div class="col-sm-1">
54-
<input type="checkbox" value="1" id="dmarc_fo0" name="dmarc_fo0" {tmpl_var name='dmarc_fo1'}/>
54+
<input type="checkbox" value="1" id="dmarc_fo1" name="dmarc_fo1" {tmpl_var name='dmarc_fo1'}/>
5555
</div>
5656
<div class="col-sm-3 input-sm">
5757
{tmpl_var name='dmarc_fo1_txt'}
@@ -97,7 +97,7 @@ <h1><tmpl_var name="list_head_txt"></h1>
9797
<div class="form-group">
9898
<label class="col-sm-2 control-label">{tmpl_var name='dmarc_rf_txt'}</label>
9999
<div class="col-sm-1">
100-
<input type="checkbox" value="1" id="dmarc_rf_afrf" name="dmarc_fo0" {tmpl_var name='dmarc_rf_afrf'}/>
100+
<input type="checkbox" value="1" id="dmarc_rf_afrf" name="dmarc_rf_afrf" {tmpl_var name='dmarc_rf_afrf'}/>
101101
</div>
102102
<div class="col-sm-3 input-sm">
103103
{tmpl_var name='dmarc_rf_afrf_txt'}
@@ -136,17 +136,11 @@ <h1><tmpl_var name="list_head_txt"></h1>
136136
<select name="dmarc_sp" id="dmarc_sp" class="form-control">{tmpl_var name='dmarc_sp'}</select>
137137
</div>
138138
</div>
139-
<div class="form-group">
140-
<label for="ttl" class="col-sm-2 control-label">{tmpl_var name='ttl_txt'}</label>
141-
<div class="col-sm-3">
142-
<input type="text" name="ttl" id="ttl" value="{tmpl_var name='ttl'}" class="form-control" />
143-
</div>
144-
</div>
145139

146140
<div class="form-group">
147141
<label class="col-sm-2 control-label">{tmpl_var name='active_txt'}</label>
148142
<div class="col-sm-3">
149-
{tmpl_var name='active'}
143+
<input type="checkbox" value="1" id="active" name="active" {tmpl_var name='active'} />
150144
</div>
151145
</div>
152146

0 commit comments

Comments
 (0)