Code

udpated Copy & Paste
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 4 Apr 2006 07:20:25 +0000 (07:20 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 4 Apr 2006 07:20:25 +0000 (07:20 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2968 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/groups/class_groupGeneric.inc
plugins/admin/groups/class_groupMail.inc

index 7b4c787a6e7874dd56527e639c069020f52c277c..4e0cd4d09fe87d98201349c6d1dda44a25a7249c 100644 (file)
@@ -851,7 +851,11 @@ class group extends plugin
     $smarty->assign("dis" ,$dis);
     $smarty->assign("cn" ,$this->cn);
     $smarty->assign("gidNumber",$this->gidNumber);
-    return($smarty->fetch(get_template_path("paste_generic.tpl",TRUE)));
+    $str = $smarty->fetch(get_template_path("paste_generic.tpl",TRUE));
+    $ret = array();
+    $ret['string'] = $str;
+    $ret['status'] = "";
+    return($ret);
   }
 
   function saveCopyDialog()
index b2dcfcf704049b70a4ad0bb2bf5ca32790e4fe26..f898fb4c3cc2c3a555766fc4d444fb88b44d1a96 100644 (file)
@@ -955,7 +955,10 @@ I: Only insider delivery */
     $smarty->assign("gosaMailForwardingAddress",$this->gosaMailForwardingAddress);
     $smarty->assign("mail",$this->mail);
     $display= $smarty->fetch (get_template_path('paste_mail.tpl', TRUE));
-    return($display);
+    $ret = array();
+    $ret['string'] = $display;
+    $ret['status'] = "";
+    return($ret);
   }
 
   function saveCopyDialog()