index 0488ed3cef1f0df983babc5fb6f76b079216bb98..1922b2aadf0e27d2ce4033b9dec16bf8a9eef020 100644 (file)
var $dispNewFreeze= false;
var $DivListFai;
+ var $start_pasting_copied_objects = FALSE;
+ var $CopyPasteHandler = FALSE;
/* construction/reconstruction
*/
"/create_variable/i"=>"new_variable", "/create_template/i"=>"new_template",
"/create_package/i"=>"new_package", "/create_profile/i"=>"new_profile",
"/edit_continue/"=>"select_class_name_finished",
-
+ "/^multiple_copy_fai/" => "copy_multiple",
+ "/^multiple_cut_fai/" => "cut_multiple",
"/^remove_multiple_fai_objects/" => "del_multiple");
foreach($_POST as $name => $value){
/* Normally this shouldn't be reached, send some extra
logs to notify the administrator */
print_red (_("You are not allowed to delete this component!"));
- @log::log("security","fai/".get_class($this),$dn,array(),"Tried to trick deletion.");
+ new log("security","fai/".get_class($this),$dn,array(),"Tried to trick deletion.");
}
/* Remove lock file after successfull deletion */
/* Normally this shouldn't be reached, send some extra
logs to notify the administrator */
print_red (_("You are not allowed to delete this component!"));
- @log::log("security","fai/".get_class($this),$dn,array(),"Tried to trick deletion.");
+ new log("security","fai/".get_class($this),$dn,array(),"Tried to trick deletion.");
}
}else{
$this->lock_dn = $bb;
$this->postremove();
- @log::log("remove","fai/".get_class($this),$br[$bb],array(),"Release removed");
+ new log("remove","fai/".get_class($this),$br[$bb],array(),"Release removed");
}
}
<body style="background: none;margin:3px;color:black">
';
- @log::log("create","fai/".get_class($this),$NewReleaseName,array(),"New $type created");
+ new log("create","fai/".get_class($this),$NewReleaseName,array(),"New $type created");
/* Duplicate applications
*/
*/
$ldap->cat($mimesrc,array("dn")) ;
if($ldap->count()){
- $ldap->cd ($appdst);
+ $ldap->cd ($mimedst);
$ldap->recursive_remove();
$ldap->cd ($this->config->current['BASE']);
$ldap->copy_FAI_resource_recursive($mimesrc,$mimedst,$NewReleaseName,$type,true);