From: hickert Date: Wed, 30 Sep 2009 13:31:19 +0000 (+0000) Subject: only show remove button while we are allowed to remove licenses X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=92d39562a16bcd95705db80c66c139baad1b81da;p=gosa.git only show remove button while we are allowed to remove licenses git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14415 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/opsi/admin/opsiLicenses/class_divListLicenses.inc b/gosa-plugins/opsi/admin/opsiLicenses/class_divListLicenses.inc index 7b32f3c4c..b2b2864ab 100644 --- a/gosa-plugins/opsi/admin/opsiLicenses/class_divListLicenses.inc +++ b/gosa-plugins/opsi/admin/opsiLicenses/class_divListLicenses.inc @@ -105,9 +105,12 @@ class divListLicense extends MultiSelectWindow /* Multiple options */ $s.= "..|---|\n"; - $s.= "..|". - " "._("Remove")."|"."remove_multiple_licenses|\n"; + if(preg_match("/d/",$acls)) { + $s.= "..|". + " "._("Remove")."|"."remove_multiple_licenses|\n"; + } + $this->SetDropDownHeaderMenu($s); $this->SetListHeader($listhead); }