From 7ed542ca4ed7cd0a62e82b783ca51f4d41dad426 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 11 Nov 2008 09:13:26 +0000 Subject: [PATCH] Updated ACL check for copy&paste action menu entries git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@12999 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../admin/applications/class_divListApplication.inc | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/gosa-plugins/goto/admin/applications/class_divListApplication.inc b/gosa-plugins/goto/admin/applications/class_divListApplication.inc index 18a79c93e..bc4ae488f 100644 --- a/gosa-plugins/goto/admin/applications/class_divListApplication.inc +++ b/gosa-plugins/goto/admin/applications/class_divListApplication.inc @@ -120,10 +120,13 @@ class divListApplication extends MultiSelectWindow " "._("Remove")."|"."remove_multiple|\n"; /* Add Copy & Paste header */ - $s .= $this->parent->get_copypaste_header($this->selectedBase,$this->module); - - /* Add snapshot icons */ - $s .= $this->parent->get_snapshot_header($this->selectedBase,$this->module); + if($this->parent->IsReleaseManagementActivated()){ + $s .= $this->parent->get_copypaste_header($this->acl_base,$this->module); + $s .= $this->parent->get_snapshot_header($this->acl_base,$this->module); + }else{ + $s .= $this->parent->get_copypaste_header($this->selectedBase,$this->module); + $s .= $this->parent->get_snapshot_header($this->selectedBase,$this->module); + } $this->SetDropDownHeaderMenu($s); $this->SetListHeader($listhead); -- 2.30.2