diff --git a/gosa-plugins/systems/admin/systems/class_divListSystem.inc b/gosa-plugins/systems/admin/systems/class_divListSystem.inc
index 8f549172f8307a0d87a9d91e66053ab634b117f3..f6a894d2147f4d8c35912ef4a9afd0e68c60e551 100644 (file)
$s.= "..|<img src='images/lists/unlocked.png' alt='' border='0' class='center'>".
" "._("Activate systems")."|activate_multiple|\n";
- if(is_object($this->parent->CopyPasteHandler) && preg_match("/r/",$all_module_acls)){
- $s.= "..|---|\n";
- $s.= "..|<img src='images/lists/copy.png' alt='' border='0' class='center'>".
- " "._("Copy")."|"."multiple_copy_systems|\n";
- $s.= "..|<img src='images/lists/cut.png' alt='' border='0' class='center'>".
- " "._("Cut")."|"."multiple_cut_systems|\n";
- }
-
- /* Copy & paste icons */
- if(is_object($this->parent->CopyPasteHandler) && $this->parent->CopyPasteHandler->entries_queued()){
- $img = "<img border='0' class='center' src='images/lists/paste.png' alt=''>";
- $s.="..|".$img." "._("Paste")."|editPaste|\n";
- }else{
- $img = "<img border='0' class='center' src='images/lists/paste-grey.png' alt=''>";
- $s.="..|".$img." "._("Paste")."\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);