summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b47ace7)
raw | patch | inline | side by side (parent: b47ace7)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 14 Oct 2008 13:08:37 +0000 (13:08 +0000) | ||
committer | cajus <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 | patch | blob | history | |
gosa-plugins/opsi/admin/opsi/generic.tpl | patch | blob | history |
diff --git a/gosa-plugins/opsi/admin/opsi/class_opsi.inc b/gosa-plugins/opsi/admin/opsi/class_opsi.inc
index d837fe34b8eabd1d6539bfa44d74713b405c0947..73154219dc05c22a5835681b67e1b157b87c783d 100644 (file)
/* 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)
<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}
<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}