Code

Closes #277 Enabled network hook
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 27 Nov 2007 06:44:04 +0000 (06:44 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 27 Nov 2007 06:44:04 +0000 (06:44 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7900 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_termDNS.inc
plugins/admin/systems/network.tpl

index 88aa84602a38595fe50ecf5278d4ec199c2b95c1..5910182ba3b4d02c43c51d23af4586f82dd4434e 100644 (file)
@@ -211,7 +211,7 @@ class termDNS extends plugin
     $display= "";
 
     $smarty->assign("staticAddress", ""); 
-    $smarty->assign("autonet", "");
+    $smarty->assign("autonet", $this->autonet);
  
     /* Check for autonet button */
     if ($this->autonet && isset($_POST['autonet'])){
index 61a463cb522afe7233565c2df84e5c1478b49562..98c21d66b4ab62f31158b14e077cc57b7796f71c 100644 (file)
@@ -20,8 +20,7 @@
             <input     name="macAddress"       id="macAddress" size=25 maxlength=80    value="{$macAddress}">
 {/render}
             {if $autonet==true}
-                                           <input type="submit" name="autonet" value="{t}Autodetect{/t}" 
-                {if ($ipHostNumberACL !="" || $macAddressACL!= "")} disabled {/if}>
+                                           <input type="submit" name="autonet" value="{t}Autodetect{/t}">
             {/if}
           </td>
                                </tr>