From e45fc9c4b1c619838145be8922d93779dd91210b Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 10 May 2006 06:54:33 +0000 Subject: [PATCH] Used generatePasteIcon to generate header entry git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3246 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/groups/class_divListGroup.inc | 33 +++++++-------------- 1 file changed, 10 insertions(+), 23 deletions(-) diff --git a/plugins/admin/groups/class_divListGroup.inc b/plugins/admin/groups/class_divListGroup.inc index 2fcf6e527..501c9a531 100644 --- a/plugins/admin/groups/class_divListGroup.inc +++ b/plugins/admin/groups/class_divListGroup.inc @@ -88,18 +88,7 @@ class divListGroup extends MultiSelectWindow } if($this->parent->CopyPasteHandler){ - $Copy_Paste = "  "; - if($this->parent->CopyPasteHandler->isCurrentObjectPastAble()){ - if($this->parent->CopyPasteHandler->isCurrentCutted()){ - $img = "images/cutpaste.png"; - }else{ - $img = "images/copypaste.png"; - } - $Copy_Paste .= " "; - }else{ - $Copy_Paste .= ""._("Can "; - } + $Copy_Paste = $this->parent->CopyPasteHandler->generatePasteIcon(); }else{ $Copy_Paste =""; } @@ -155,21 +144,19 @@ class divListGroup extends MultiSelectWindow // Space $empty = ""; - if($this->parent->CopyPasteHandler){ - $actions = "parent->CopyPasteHandler){ + $actions.= " "; $actions.= " "; - $actions.= ""; - $actions.= ""; - }else{ - $actions = ""; - $actions.= ""; } + $actions.= ""; + $actions.= ""; + // User and Template Images $editlink = "%s"; -- 2.30.2