From 1d4dfa18b421581257f8ebf2726a5fb87200cc1f Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 24 Nov 2010 08:43:57 +0000 Subject: [PATCH] Updated must dectection for macAddress git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@20347 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/systems/admin/systems/class_termDNS.inc | 3 --- gosa-plugins/systems/admin/systems/network.tpl | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/gosa-plugins/systems/admin/systems/class_termDNS.inc b/gosa-plugins/systems/admin/systems/class_termDNS.inc index e3059b225..7582e3c4c 100644 --- a/gosa-plugins/systems/admin/systems/class_termDNS.inc +++ b/gosa-plugins/systems/admin/systems/class_termDNS.inc @@ -294,7 +294,6 @@ class termDNS extends plugin } $smarty->assign("additionalHostNumbers",$this->additionalHostNumbers); - $smarty->assign("staticAddress", ""); /********** * Autonet completion @@ -381,7 +380,6 @@ class termDNS extends plugin foreach($this->attributes as $attr){ $smarty->assign($attr,$this->$attr); } - $smarty->assign("staticAddress","*"); $display.= $smarty->fetch(get_template_path('network.tpl', TRUE)); }else{ @@ -461,7 +459,6 @@ class termDNS extends plugin $smarty->assign("records",$tmp['str']); $smarty->assign("changeStateForRecords",$changeStateForRecords); - $smarty->assign("staticAddress","*"); $smarty->assign("autonetACL",$this->acl_is_writeable("macAddress") && $this->acl_is_writeable("ipHostNumber")?"rw":""); diff --git a/gosa-plugins/systems/admin/systems/network.tpl b/gosa-plugins/systems/admin/systems/network.tpl index ce994887b..8f622e3ac 100644 --- a/gosa-plugins/systems/admin/systems/network.tpl +++ b/gosa-plugins/systems/admin/systems/network.tpl @@ -6,7 +6,7 @@ - + - +
{render acl=$ipHostNumberACL} @@ -35,7 +35,7 @@
{if $MACisMust}{$staticAddress}{/if}{if $MACisMust}{$must}{/if} {render acl=$macAddressACL} -- 2.30.2