Code

Udpated copy & paste for user
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 4 Apr 2006 07:15:31 +0000 (07:15 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 4 Apr 2006 07:15:31 +0000 (07:15 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2966 594d385d-05f5-0310-b6e9-bd551577e9d8

include/class_plugin.inc
plugins/gofon/phoneaccount/class_phoneAccount.inc
plugins/personal/mail/class_mailAccount.inc

index 4f927edf0ff8ebd873a8bfe01c6f4d8cb834f8bb..1e6b5ba215374a72be520cf78f83e245dbc945ff 100644 (file)
@@ -747,7 +747,7 @@ class plugin
   }
 
   function getCopyDialog(){
-    return("");
+    return(array("string"=>"","status"=>""));
   }
 
 }
index d2b869a22cf9b167fa4c36a84bd76dc44882729b..09bd576170f8d124e48ae41f5a28198de34da149 100644 (file)
@@ -1171,7 +1171,10 @@ $ldap->modify ($this->attrs);
     $smarty->assign("goFonPIN",$this->goFonPIN);
 
     $display= $smarty->fetch(get_template_path('paste_generic.tpl', TRUE, dirname(__FILE__)));
-    return($display);
+    $ret =array();
+    $ret['string'] = $display;
+    $ret['status'] = "";
+    return($ret);
   }
 
   function saveCopyDialog()
index 3273d571155e0fe201c5188527595fe041284ed6..5b892e79ca5762e94c947d9c8c83bfbf04da88be 100644 (file)
@@ -869,7 +869,12 @@ $ldap->modify ($this->attrs);
     $smarty->assign("mail",$this->mail); 
     $smarty->assign("gosaMailAlternateAddress",$this->gosaMailAlternateAddress);
     $smarty->assign("gosaMailForwardingAddress",$this->gosaMailForwardingAddress);
-    return($smarty->fetch(get_template_path("copypaste.tpl",TRUE, dirname(__FILE__))));
+    $str = $smarty->fetch(get_template_path("copypaste.tpl",TRUE, dirname(__FILE__)));
+
+    $ret = array();
+    $ret['status'] = "";
+    $ret['string'] = $str;
+    return($ret);
   }
 
   function saveCopyDialog()