diff --git a/gosa-core/plugins/admin/groups/class_divListGroup.inc b/gosa-core/plugins/admin/groups/class_divListGroup.inc
index b2bf8fbdfa82e191db0491d35e0935aae15d367d..7c42291e4ce1c156a62ffbba5e21b35aee96da34 100644 (file)
$actions= "";
- if($ui->is_cutable($val['dn'],"groups","group") && $this->parent->CopyPasteHandler){
- $actions .= "<input class='center' type='image'
- src='images/lists/cut.png' alt='"._("cut")."' name='cut_%KEY%' title='"._("Cut this entry")."'> ";
- }else{
- $actions.="<img src='images/empty.png' alt=' ' class='center'> ";
- }
-
- if($ui->is_copyable($val['dn'],"groups","group") && $this->parent->CopyPasteHandler){
- $actions.= "<input class='center' type='image'
- src='images/lists/copy.png' alt='"._("copy")."' name='copy_%KEY%' title='"._("Copy this entry")."'> ";
- }else{
- $actions.="<img src='images/empty.png' alt=' ' class='center'> ";
- }
+ /* Add copy & cut functionality */
+ $actions.= $this->parent->get_copypaste_action($val['dn'],"groups","group");
/* Add edit icon */
$actions.= "<input class='center' type='image'