From: hickert Date: Tue, 4 Apr 2006 07:15:31 +0000 (+0000) Subject: Udpated copy & paste for user X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=8c73119fa17fedf86c437a701b5e0eb003831c15;p=gosa.git Udpated copy & paste for user git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2966 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/class_plugin.inc b/include/class_plugin.inc index 4f927edf0..1e6b5ba21 100644 --- a/include/class_plugin.inc +++ b/include/class_plugin.inc @@ -747,7 +747,7 @@ class plugin } function getCopyDialog(){ - return(""); + return(array("string"=>"","status"=>"")); } } diff --git a/plugins/gofon/phoneaccount/class_phoneAccount.inc b/plugins/gofon/phoneaccount/class_phoneAccount.inc index d2b869a22..09bd57617 100644 --- a/plugins/gofon/phoneaccount/class_phoneAccount.inc +++ b/plugins/gofon/phoneaccount/class_phoneAccount.inc @@ -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() diff --git a/plugins/personal/mail/class_mailAccount.inc b/plugins/personal/mail/class_mailAccount.inc index 3273d5711..5b892e79c 100644 --- a/plugins/personal/mail/class_mailAccount.inc +++ b/plugins/personal/mail/class_mailAccount.inc @@ -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()