From dfa8ae5db2df91a12a1f60b14ad92a171f78ab64 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 19 Nov 2010 10:59:54 +0000 Subject: [PATCH] Do notm display Mac Address as must if it isn't git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20287 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/systems/admin/systems/class_termDNS.inc | 1 + gosa-plugins/systems/admin/systems/network.tpl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/gosa-plugins/systems/admin/systems/class_termDNS.inc b/gosa-plugins/systems/admin/systems/class_termDNS.inc index 70deaaa06..404e831a5 100644 --- a/gosa-plugins/systems/admin/systems/class_termDNS.inc +++ b/gosa-plugins/systems/admin/systems/class_termDNS.inc @@ -299,6 +299,7 @@ class termDNS extends plugin } $smarty->assign("additionalHostNumbers",$this->additionalHostNumbers); + $smarty->assign("MACisMust",$this->MACisMust); /********** * Autonet completion diff --git a/gosa-plugins/systems/admin/systems/network.tpl b/gosa-plugins/systems/admin/systems/network.tpl index ac1119a71..5bd992e27 100644 --- a/gosa-plugins/systems/admin/systems/network.tpl +++ b/gosa-plugins/systems/admin/systems/network.tpl @@ -39,7 +39,7 @@ - {$must} + {if $MACisMust}{$must}{/if} {render acl=$macAddressACL} -- 2.30.2