From: hickert Date: Mon, 3 Mar 2008 12:11:34 +0000 (+0000) Subject: Udapted Copy & Paste messages X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=308737bd4471f6a882b9d254f39a880fae06df66;p=gosa.git Udapted Copy & Paste messages git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9239 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/ihtml/themes/default/copyPasteDialog.tpl b/gosa-core/ihtml/themes/default/copyPasteDialog.tpl index 9926c7f50..a43275e2a 100644 --- a/gosa-core/ihtml/themes/default/copyPasteDialog.tpl +++ b/gosa-core/ihtml/themes/default/copyPasteDialog.tpl @@ -17,7 +17,7 @@
  - {if $type == "copy"} + {if $type == "modified"} {/if} diff --git a/gosa-core/include/class_CopyPasteHandler.inc b/gosa-core/include/class_CopyPasteHandler.inc index b780517f5..06006fbef 100644 --- a/gosa-core/include/class_CopyPasteHandler.inc +++ b/gosa-core/include/class_CopyPasteHandler.inc @@ -340,12 +340,12 @@ class CopyPasteHandler { $dns .= $entry['dn']."\n"; } $smarty = get_smarty(); - $smarty->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 +363,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))); } }