Commit 08c493a6 authored by Till Brehm's avatar Till Brehm
Browse files

Make update_acl field visible to admins only in dns SOA.

parent 9c51ab5c
......@@ -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']);
......@@ -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>
<div class="form-group">
<label class="col-sm-3 control-label">{tmpl_var name='active_txt'}</label>
<div class="col-sm-9">
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