From 436df92144f93033d6fa865e3a04d31e7f8b4c64 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 25 Sep 2009 11:43:44 +0000 Subject: [PATCH] Disabled license usage manipulation git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14349 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../admin/opsiLicenses/class_licensePoolGeneric.inc | 1 + .../opsi/admin/opsiLicenses/licenseGeneric.tpl | 12 +++++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) 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}
+ -- 2.30.2