X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Finclude%2Fclass_CopyPasteHandler.inc;h=e18c26b7c1cf37c130d3185a3f3a1d9d402aa80b;hb=42886e5cc4e1ec51ecb4faf4c669268040c81f25;hp=b780517f5c791fa2f74c67668e62c67a50ddfb8a;hpb=437237d41c65ce840962091e846dddbf9f9af5cb;p=gosa.git diff --git a/gosa-core/include/class_CopyPasteHandler.inc b/gosa-core/include/class_CopyPasteHandler.inc index b780517f5..e18c26b7c 100644 --- a/gosa-core/include/class_CopyPasteHandler.inc +++ b/gosa-core/include/class_CopyPasteHandler.inc @@ -1,4 +1,24 @@ assign("type","cut"); + $smarty->assign("type","directly"); $smarty->assign("Complete",false); $smarty->assign("AttributesToFix"," "); $smarty->assign("SubDialog",""); $smarty->assign("objectDN" ,$dns); - $smarty->assign("message" , sprintf(_("You are going to paste the cutted entry '%s'."), "
".$dns."
")); + $smarty->assign("message" , sprintf(_("You are going to paste the following entries '%s'."), "
".$dns."
")); return($smarty->fetch(get_template_path("copyPasteDialog.tpl",FALSE))); } @@ -363,12 +383,12 @@ class CopyPasteHandler { } if($this->current){ $smarty = get_smarty(); - $smarty->assign("type","copy"); + $smarty->assign("type","modified"); $smarty->assign("Complete",false); $smarty->assign("AttributesToFix",$this->generateAttributesToFix()); $smarty->assign("SubDialog",$this->current['object']->SubDialog); $smarty->assign("objectDN",$this->current['source_data']['dn']); - $smarty->assign("message", sprintf(_("You are going to paste the copied entry '%s'."), $this->current['source_data']['dn'])); + $smarty->assign("message", sprintf(_("You are going to paste the following entry '%s'."), $this->current['source_data']['dn'])); return($smarty->fetch(get_template_path("copyPasteDialog.tpl",FALSE))); } }