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
ISPConfig
ISPConfig 3
Commits
5db55c0e
Commit
5db55c0e
authored
Sep 03, 2017
by
Florian Schaal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Incorrect names of fields in DNS DMARC form (Fixes #4316)
parent
c1d4814e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
10 deletions
+4
-10
interface/web/dns/dns_dmarc_edit.php
interface/web/dns/dns_dmarc_edit.php
+1
-1
interface/web/dns/templates/dns_dmarc_edit.htm
interface/web/dns/templates/dns_dmarc_edit.htm
+3
-9
No files found.
interface/web/dns/dns_dmarc_edit.php
View file @
5db55c0e
...
...
@@ -94,7 +94,7 @@ class page_action extends tform_actions {
$this
->
id
=
1
;
$old_data
=
strtolower
(
$rec
[
'data'
]);
$app
->
tpl
->
setVar
(
"data"
,
$old_data
);
if
(
$rec
[
'active'
]
==
'Y'
)
$app
->
tpl
->
setVar
(
"active"
,
"CHECKED"
);
if
(
$rec
[
'active'
]
==
'Y'
)
$app
->
tpl
->
setVar
(
"active"
,
"CHECKED"
);
else
$app
->
tpl
->
setVar
(
"active"
,
"UNCHECKED"
);
$dmarc_rua
=
''
;
$dmarc_ruf
=
''
;
$dmac_rf
=
''
;
...
...
interface/web/dns/templates/dns_dmarc_edit.htm
View file @
5db55c0e
...
...
@@ -51,7 +51,7 @@
<div
class=
"form-group"
>
<label
class=
"col-sm-2 control-label control-label-plain"
></label>
<div
class=
"col-sm-1"
>
<input
type=
"checkbox"
value=
"1"
id=
"dmarc_fo
0
"
name=
"dmarc_fo
0
"
{
tmpl_var
name=
'dmarc_fo1'
}
/>
<input
type=
"checkbox"
value=
"1"
id=
"dmarc_fo
1
"
name=
"dmarc_fo
1
"
{
tmpl_var
name=
'dmarc_fo1'
}
/>
</div>
<div
class=
"col-sm-3 input-sm"
>
{tmpl_var name='dmarc_fo1_txt'}
...
...
@@ -97,7 +97,7 @@
<div
class=
"form-group"
>
<label
class=
"col-sm-2 control-label"
>
{tmpl_var name='dmarc_rf_txt'}
</label>
<div
class=
"col-sm-1"
>
<input
type=
"checkbox"
value=
"1"
id=
"dmarc_rf_afrf"
name=
"dmarc_
fo0
"
{
tmpl_var
name=
'dmarc_rf_afrf'
}
/>
<input
type=
"checkbox"
value=
"1"
id=
"dmarc_rf_afrf"
name=
"dmarc_
rf_afrf
"
{
tmpl_var
name=
'dmarc_rf_afrf'
}
/>
</div>
<div
class=
"col-sm-3 input-sm"
>
{tmpl_var name='dmarc_rf_afrf_txt'}
...
...
@@ -136,17 +136,11 @@
<select
name=
"dmarc_sp"
id=
"dmarc_sp"
class=
"form-control"
>
{tmpl_var name='dmarc_sp'}
</select>
</div>
</div>
<div
class=
"form-group"
>
<label
for=
"ttl"
class=
"col-sm-2 control-label"
>
{tmpl_var name='ttl_txt'}
</label>
<div
class=
"col-sm-3"
>
<input
type=
"text"
name=
"ttl"
id=
"ttl"
value=
"{tmpl_var name='ttl'}"
class=
"form-control"
/>
</div>
</div>
<div
class=
"form-group"
>
<label
class=
"col-sm-2 control-label"
>
{tmpl_var name='active_txt'}
</label>
<div
class=
"col-sm-3"
>
{tmpl_var name='active'}
<input
type=
"checkbox"
value=
"1"
id=
"active"
name=
"active"
{
tmpl_var
name=
'active'
}
/>
</div>
</div>
...
...
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