From: hickert Date: Wed, 10 May 2006 06:54:33 +0000 (+0000) Subject: Used generatePasteIcon to generate header entry X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e45fc9c4b1c619838145be8922d93779dd91210b;p=gosa.git Used generatePasteIcon to generate header entry git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3246 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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";