File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 319319 )
320320);
321321
322-
322+ // show update acl to admins only.
323+ if (!$ app ->auth ->is_admin ()) unset($ form ["tabs " ]['dns_soa ' ]['fields ' ]['update_acl ' ]);
323324
324325?>
Original file line number Diff line number Diff line change @@ -120,10 +120,11 @@ <h1><tmpl_var name="list_head_txt"></h1>
120120 < div class ="form-group ">
121121 < label for ="also_notify " class ="col-sm-3 control-label "> {tmpl_var name='also_notify_txt'}</ label >
122122 < 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 >
123- < div class ="form-group ">
123+ < tmpl _if name ="is_admin ">
124+ < div class ="form-group ">
124125 < label for ="update_acl " class ="col-sm-3 control-label "> {tmpl_var name='update_acl_txt'}</ label >
125126 < 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 >
126-
127+ </ tmpl _if >
127128 < div class ="form-group ">
128129 < label class ="col-sm-3 control-label "> {tmpl_var name='active_txt'}</ label >
129130 < div class ="col-sm-9 ">
You can’t perform that action at this time.
0 commit comments