Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Helmo
ISPConfig 3
Commits
08c493a6
Commit
08c493a6
authored
May 24, 2018
by
Till Brehm
Browse files
Make update_acl field visible to admins only in dns SOA.
parent
9c51ab5c
Changes
2
Hide whitespace changes
Inline
Side-by-side
interface/web/dns/form/dns_soa.tform.php
View file @
08c493a6
...
...
@@ -319,6 +319,7 @@ $form["tabs"]['dns_records'] = array (
)
);
// show update acl to admins only.
if
(
!
$app
->
auth
->
is_admin
())
unset
(
$form
[
"tabs"
][
'dns_soa'
][
'fields'
][
'update_acl'
]);
?>
interface/web/dns/templates/dns_soa_edit.htm
View file @
08c493a6
...
...
@@ -120,10 +120,11 @@
<div
class=
"form-group"
>
<label
for=
"also_notify"
class=
"col-sm-3 control-label"
>
{tmpl_var name='also_notify_txt'}
</label>
<div
class=
"col-sm-9"
><input
type=
"text"
name=
"also_notify"
id=
"also_notify"
value=
"{tmpl_var name='also_notify'}"
class=
"form-control"
/></div></div>
<div
class=
"form-group"
>
<tmpl_if
name=
"is_admin"
>
<div
class=
"form-group"
>
<label
for=
"update_acl"
class=
"col-sm-3 control-label"
>
{tmpl_var name='update_acl_txt'}
</label>
<div
class=
"col-sm-9"
><input
type=
"text"
name=
"update_acl"
id=
"update_acl"
value=
"{tmpl_var name='update_acl'}"
class=
"form-control"
/></div></div>
</tmpl_if>
<div
class=
"form-group"
>
<label
class=
"col-sm-3 control-label"
>
{tmpl_var name='active_txt'}
</label>
<div
class=
"col-sm-9"
>
...
...
Write
Preview
Supports
Markdown
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