From f2cb1f8f521a0069806e40c4a9bf01042af4aa5e Mon Sep 17 00:00:00 2001 From: cajus Date: Thu, 3 Apr 2008 13:54:44 +0000 Subject: [PATCH] Updated copy & paste git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10156 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_CopyPasteHandler.inc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gosa-core/include/class_CopyPasteHandler.inc b/gosa-core/include/class_CopyPasteHandler.inc index 114beeaa7..ed01b1cf8 100644 --- a/gosa-core/include/class_CopyPasteHandler.inc +++ b/gosa-core/include/class_CopyPasteHandler.inc @@ -355,12 +355,18 @@ class CopyPasteHandler { /* Display a list of all pastable entries */ if(count($this->clean_objects)){ + + $dns = array(); + foreach($this->clean_objects as $object){ + $dns[] = $object['dn']; + } + $smarty = get_smarty(); $smarty->assign("type","directly"); $smarty->assign("Complete",false); $smarty->assign("AttributesToFix"," "); $smarty->assign("SubDialog",""); - $smarty->assign("message" , sprintf(_("These objects will be pasted: %s"), "
".msgPool::buildList($this->clean_objects))); + $smarty->assign("message" , sprintf(_("These objects will be pasted: %s"), "
".msgPool::buildList($dns))); return($smarty->fetch(get_template_path("copyPasteDialog.tpl",FALSE))); } -- 2.30.2