index 9569ed3969e3e613fabc64ea47d98c27aa8bab7f..ce7cf00fbc4b33c54b84e9b1cd67895fa7cec1cb 100644 (file)
function usertabs($config, $data, $dn)
{
- tabs::tabs($config, $data, $dn);
+ tabs::tabs($config, $data, $dn, 'users');
$this->base= $this->by_object['user']->base;
+
+ /* Add references/acls/snapshots */
+ $this->addSpecialTabs();
+ $this->set_acl_base();
}
function save_object($save_current= FALSE)
$number= key($this->by_object['phoneAccount']->phoneNumbers);
$this->by_object['user']->telephoneNumber= $number;
}
+
+ /* Possibly change acl base */
+ $this->set_acl_base();
}
function save()
$this->by_object[$key]->is_template= TRUE;
}
}
+
+ function saveCopyDialog()
+ {
+ tabs::saveCopyDialog();
+ $baseobject= $this->by_object['user'];
+ $uid = $baseobject->uid;
+ foreach($this->by_object as $name => $obj){
+ $this->by_object[$name]->uid = $uid;
+ }
+ }
}