summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9f30812)
raw | patch | inline | side by side (parent: 9f30812)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 16 Apr 2008 08:04:05 +0000 (08:04 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 16 Apr 2008 08:04:05 +0000 (08:04 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10493 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/fai/admin/fai/class_divListFai.inc | patch | blob | history | |
gosa-plugins/fai/admin/fai/class_faiManagement.inc | patch | blob | history |
diff --git a/gosa-plugins/fai/admin/fai/class_divListFai.inc b/gosa-plugins/fai/admin/fai/class_divListFai.inc
index 01384a069bb7f752443511fb0c078e5d7625f3fb..29b4b9c6a9606cef907bafe820d23e0ee2bede44 100644 (file)
$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";
}
/* Add copy & paste icons, currently disabled, this ability is not implemeneted yet */
$acl_all = $ui->has_complete_category_acls($this->parent->fai_base,$this->module);
if(preg_match("/(c.*w|w.*c)/",$acl_all) && $this->parent->CopyPasteHandler){
$action .= "<input class='center' type='image'
- src='images/lists/cut.png' alt='"._("cut")."' name='cut_%KEY%' title='"._("Cut this entry")."'> ";
- $action.= "<input class='center' type='image'
src='images/lists/copy.png' alt='"._("copy")."' name='copy_%KEY%' title='"._("Copy this entry")."'> ";
}
diff --git a/gosa-plugins/fai/admin/fai/class_faiManagement.inc b/gosa-plugins/fai/admin/fai/class_faiManagement.inc
index 499d8e14b024937613b262b8ec3129e0617c6132..e1b123ad205853aea52852537341352656e1f658 100644 (file)
"/^multiple_copy_fai/" => "copy_multiple",
"/^multiple_cut_fai/" => "cut_multiple",
"/^copy/" => "copy",
- "/^cut/" => "cut",
"/^remove_multiple_fai_objects/" => "del_multiple");
foreach($_POST as $name => $value){
/* Add a single entry to queue */
- if($s_action == "cut" || $s_action == "copy"){
+ if($s_action == "copy"){
/* Cleanup object queue */
$this->CopyPasteHandler->cleanup_queue();
}
/* Add entries to queue */
- if($s_action == "copy_multiple" || $s_action == "cut_multiple"){
+ if($s_action == "copy_multiple"){
/* Cleanup object queue */
$this->CopyPasteHandler->cleanup_queue();
if($s_action == "copy_multiple"){
$this->CopyPasteHandler->add_to_queue($dn,"copy",$a_setup[0],$a_setup[2],"fai");//$a_setup[1]);
}
- if($s_action == "cut_multiple"){
- $this->CopyPasteHandler->add_to_queue($dn,"cut",$a_setup[0],$a_setup[2],"fai");//$a_setup[1]);
- }
}
}