Code

Updated network tpl
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 7 Jul 2009 12:28:51 +0000 (12:28 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 7 Jul 2009 12:28:51 +0000 (12:28 +0000)
-If dns settings are enforced, then disable the toggle checkbox

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13900 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/systems/admin/systems/network.tpl

index 6401258e4b6d613a67a362905f118202be5b6511..8e99cc7bb1037fb1588cd6b20f04d3bd7c437226 100644 (file)
 {render acl=$dnsSetupACL}
       {if $DNS_is_account == true}
       <input type="checkbox" name="DNS_is_account" value="1"  
+
+        {if $hide_dns_check_box} disabled {/if}
+
         checked="checked"
         onclick="toggle('test2');
           changeState('zoneName');