From 308737bd4471f6a882b9d254f39a880fae06df66 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 3 Mar 2008 12:11:34 +0000 Subject: [PATCH] Udapted Copy & Paste messages git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9239 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/ihtml/themes/default/copyPasteDialog.tpl | 2 +- gosa-core/include/class_CopyPasteHandler.inc | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) 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))); } } -- 2.30.2