summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bcdd3c2)
raw | patch | inline | side by side (parent: bcdd3c2)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 25 Sep 2009 11:43:44 +0000 (11:43 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 25 Sep 2009 11:43:44 +0000 (11:43 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14349 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/opsi/admin/opsiLicenses/class_licensePoolGeneric.inc | patch | blob | history | |
gosa-plugins/opsi/admin/opsiLicenses/licenseGeneric.tpl | patch | blob | history |
diff --git a/gosa-plugins/opsi/admin/opsiLicenses/class_licensePoolGeneric.inc b/gosa-plugins/opsi/admin/opsiLicenses/class_licensePoolGeneric.inc
index 1f69db5779ca8c574eda01dde379a95b6b24d4e4..e830ef3d0407094de0f22a4ec362c75ffb722905 100644 (file)
$license['maximumInstallations'],
$license['boundToHost'],
$license['expirationDate']);
+
if($this->si->is_error()){
msg_dialog::display(_("Error"),msgPool::siError($this->si->get_error()),ERROR_DIALOG);
}
diff --git a/gosa-plugins/opsi/admin/opsiLicenses/licenseGeneric.tpl b/gosa-plugins/opsi/admin/opsiLicenses/licenseGeneric.tpl
index e7fe63caa2af9e6dfea1e797b8a53f332dc1a342..445e453e1906881b82208e60ca38ae15c22254cf 100644 (file)
<tr>
<td colspan="2">
<b>{t}Used by Host{/t}</b><br>
- <select name='selectedUsedHosts[]' multiple size=4 style='width:100%;'>
+ <select
+
+ disabled
+
+ name='selectedUsedHosts[]' multiple size=4 style='width:100%;'>
{html_options options=$usedByHost}
</select><br>
+<!--
+
+ Actually we can't modify the license usage, due to a lack of functions.
+ We can only assign a licensePool to a host, but not a specific license.
+
<select name='selectedHostToAdd'>
{html_options options=$notUsedHosts}
</select>
<input type="submit" name="addLicenseUsage" value="{msgPool type='addButton'}">
<input type="submit" name="removeLicenseUsage" value="{msgPool type='delButton'}">
+-->
</td>
</tr>
</table>