From: cajus Date: Tue, 14 Oct 2008 13:08:37 +0000 (+0000) Subject: MAC is a must field X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=61891c92bc2e96c425ccafc8c4493b136f237d00;p=gosa.git MAC is a must field git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12688 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/opsi/admin/opsi/class_opsi.inc b/gosa-plugins/opsi/admin/opsi/class_opsi.inc index d837fe34b..73154219d 100644 --- a/gosa-plugins/opsi/admin/opsi/class_opsi.inc +++ b/gosa-plugins/opsi/admin/opsi/class_opsi.inc @@ -63,7 +63,7 @@ class opsi extends gosaSupportDaemon /* Detect the target opsi host */ $opsi_hosts = $this->get_hosts_with_module("opsi_com"); - + /* Just use the first result of the opsi hosts */ if(count($opsi_hosts) == 1 && isset($opsi_hosts[0])){ diff --git a/gosa-plugins/opsi/admin/opsi/generic.tpl b/gosa-plugins/opsi/admin/opsi/generic.tpl index 742dbdc2e..9c6fb58cf 100644 --- a/gosa-plugins/opsi/admin/opsi/generic.tpl +++ b/gosa-plugins/opsi/admin/opsi/generic.tpl @@ -19,7 +19,7 @@ - {t}MAC address{/t} + {t}MAC address{/t}{$must} {else} @@ -28,7 +28,7 @@ - {t}MAC address{/t} + {t}MAC address{/t}{$must} {/if}