summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 24c0a16)
raw | patch | inline | side by side (parent: 24c0a16)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 12 Apr 2006 05:29:39 +0000 (05:29 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 12 Apr 2006 05:29:39 +0000 (05:29 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3037 594d385d-05f5-0310-b6e9-bd551577e9d8
index afaaf81002d6ba113b6453e3ceec91dd3b755ee1..81c8a1c6aff2aba86e8f75066e7c43080f88e959 100644 (file)
--- a/include/class_plugin.inc
+++ b/include/class_plugin.inc
if(isset($this->CopyPasteVars)){
$todo = array_merge($todo,$this->CopyPasteVars);
}
-
+ $todo[] = "is_account";
foreach($todo as $var){
$this->$var = $source->$var;
}
diff --git a/include/functions.inc b/include/functions.inc
index ef7100de83677f38e65876a09d282fa970ac80bb..c47e31b20aec827a2c0415238df88c92e547e185 100644 (file)
--- a/include/functions.inc
+++ b/include/functions.inc
function convert_department_dn2($dn)
{
+
+/*
+
+ I think this no longer used ...
+ Check this, and remove this function
+
+
+*/
+
$dep= "";
/* Build a sub-directory style list of the tree level
specified in $dn */
diff --git a/plugins/gofax/faxaccount/class_gofaxAccount.inc b/plugins/gofax/faxaccount/class_gofaxAccount.inc
index feec09343a0fbd1d4a7326f0d538aa39743b4a3f..1f7080bb8e237b29ca28e9c782802651f46b49a1 100644 (file)
$this->facsimileAlternateTelephoneNumber);
}
+ function getCopyDialog()
+ {
+ $str = "";
+ $smarty = get_smarty();
+ $smarty->assign("facsimileTelephoneNumber", $this->facsimileTelephoneNumber);
+ $str['string'] = $smarty->fetch(get_template_path("paste_generic.tpl",TRUE,dirname(__FILE__)));
+ $str['status'] ="";
+ return($str);
+ }
+
+ function SaveCopyDialog()
+ {
+ if(isset($_POST['facsimileTelephoneNumber'])){
+ $this->facsimileTelephoneNumber = $_POST['facsimileTelephoneNumber'];
+ }
+ }
}
diff --git a/plugins/personal/connectivity/class_connectivity.inc b/plugins/personal/connectivity/class_connectivity.inc
index 12be3de5937ad8e1578b2f8492fb311d5d6c73b8..c0690c1cde3cc3bc65be1f3c96ccdb5202141fd3 100644 (file)
}
}
+ /* Prepare the connectivity obj
+ */
+ function PrepareForCopyPaste($obj)
+ {
+ $tmp = $this->plugin;
+ plugin::PrepareForCopyPaste($obj);
+ $this->plugin = $tmp;
+ foreach($obj->plugin as $key => $plug){
+ $this->plugin[$key]->PrepareForCopyPaste($plug);
+ }
+ }
+
+
}
// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
diff --git a/plugins/personal/connectivity/class_opengwAccount.inc b/plugins/personal/connectivity/class_opengwAccount.inc
index b7ea6b6c31f4b7bf084eab02b2584e8e1beb9773..02b075d56e93147b24c9f892f09c76ade1f972dd 100644 (file)
}
}
+
+ function PrepareForCopyPaste($src){
+ // Nothing to do, because this object can't be copied ... yet
+ }
+
}
// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
?>