diff --git a/include/class_tabs.inc b/include/class_tabs.inc
index 2fc2fdf0f8d17967ee25f816fe791482b73d3437..689d89268149b06d7e47ceb8c7d23c8f5a040e0d 100644 (file)
--- a/include/class_tabs.inc
+++ b/include/class_tabs.inc
var $disabled= "";
var $by_name= array();
var $by_object= array();
+ var $SubDialog = false;
function tabs($config, $data, $dn)
{
}
}
+
+ /* Save attributes posted by copy & paste dialog
+ */
+ function saveCopyDialog()
+ {
+ foreach ($this->by_object as $key => $obj){
+ if($obj->is_account){
+ $this->by_object[$key]->saveCopyDialog();
+ }
+ }
+ }
+
+
+ /* return copy & paste dialog
+ */
+ function getCopyDialog()
+ {
+ $ret = "";
+ $this->SubDialog = false;
+ foreach ($this->by_object as $key => $obj){
+ if($obj->is_account){
+ $tmp = $this->by_object[$key]->getCopyDialog();
+ if($tmp['status'] == "SubDialog"){
+ $this->SubDialog = true;
+ return($tmp['string']);
+ }else{
+ $ret .= $tmp['string'];
+ }
+ }
+ }
+ return($ret);
+ }
+
}
?>