From: hickert Date: Fri, 25 Sep 2009 11:43:44 +0000 (+0000) Subject: Disabled license usage manipulation X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=436df92144f93033d6fa865e3a04d31e7f8b4c64;p=gosa.git Disabled license usage manipulation git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14349 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/opsi/admin/opsiLicenses/class_licensePoolGeneric.inc b/gosa-plugins/opsi/admin/opsiLicenses/class_licensePoolGeneric.inc index 1f69db577..e830ef3d0 100644 --- a/gosa-plugins/opsi/admin/opsiLicenses/class_licensePoolGeneric.inc +++ b/gosa-plugins/opsi/admin/opsiLicenses/class_licensePoolGeneric.inc @@ -456,6 +456,7 @@ class licensePoolGeneric extends plugin $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 e7fe63caa..445e453e1 100644 --- a/gosa-plugins/opsi/admin/opsiLicenses/licenseGeneric.tpl +++ b/gosa-plugins/opsi/admin/opsiLicenses/licenseGeneric.tpl @@ -172,14 +172,24 @@ {t}Used by Host{/t}
- {html_options options=$usedByHost}
+