Code

MAC is a must field
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 14 Oct 2008 13:08:37 +0000 (13:08 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 14 Oct 2008 13:08:37 +0000 (13:08 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12688 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/opsi/admin/opsi/class_opsi.inc
gosa-plugins/opsi/admin/opsi/generic.tpl

index d837fe34b8eabd1d6539bfa44d74713b405c0947..73154219dc05c22a5835681b67e1b157b87c783d 100644 (file)
@@ -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])){
index 742dbdc2ede4d5f04c58d156d455cd77649fb292..9c6fb58cfc6ce46eec01956a38d81a92dd23cfc7 100644 (file)
@@ -19,7 +19,7 @@
      <td><input style='width:300px;' type='text' name='hostId' value='{$hostId}'></td>
     </tr>
     <tr>
-     <td>{t}MAC address{/t}</td>
+     <td>{t}MAC address{/t}{$must}</td>
      <td><input type='text' name="mac" value="{$mac}"></td>
        </tr>
        {else}
@@ -28,7 +28,7 @@
      <td><input style='width:300px;' type='text' disabled value="{$hostId}"></td>
     </tr>
     <tr>
-     <td>{t}MAC address{/t}</td>
+     <td>{t}MAC address{/t}{$must}</td>
      <td><input type='text' name="mac" value="{$mac}"></td>
     </tr>
     {/if}