summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e6d6ce0)
raw | patch | inline | side by side (parent: e6d6ce0)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 6 Nov 2006 07:54:43 +0000 (07:54 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 6 Nov 2006 07:54:43 +0000 (07:54 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5012 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/groups/class_groupManagement.inc | patch | blob | history | |
plugins/admin/groups/tabs_group.inc | patch | blob | history |
diff --git a/plugins/admin/groups/class_groupManagement.inc b/plugins/admin/groups/class_groupManagement.inc
index 0d9e395e7a5ec76f7f6c5b7b9716f7f6d8130140..0415f1d86babeb63d21c687231b3b97e5141bd24 100644 (file)
$this->dn= "new";
/* Create new usertab object */
- $this->grouptab= new grouptabs($this->config, $this->config->data['TABS']['GROUPTABS'], $this->dn,"groups");
+ $this->grouptab= new grouptabs($this->config, $this->config->data['TABS']['GROUPTABS'], $this->dn);
/* Set up the users ACL's for this 'dn' */
$this->grouptab->set_acl_base($this->DivListGroup->selectedBase);
add_lock ($this->dn, $this->ui->dn);
/* Register grouptab to trigger edit dialog */
- $this->grouptab= new grouptabs($this->config,$this->config->data['TABS']['GROUPTABS'], $this->dn,"groups");
+ $this->grouptab= new grouptabs($this->config,$this->config->data['TABS']['GROUPTABS'], $this->dn);
$this->grouptab->set_acl_base($this->dn);
$_SESSION['objectinfo']= $this->dn;
}
index 6fa256f5daa85b560bd60c3a63c82ba3c141ef2f..bcf4e3f090fc44204f4184b47df2d7b32e02b5ee 100644 (file)
class grouptabs extends tabs
{
- function grouptabs($config, $data, $dn,$acl_category)
+ function grouptabs($config, $data, $dn)
{
- tabs::tabs($config, $data, $dn,$acl_category);
- $baseobject= $this->by_object['group'];
- foreach ($this->by_object as $name => $obj){
- if(isset($obj->parent)){
- $this->by_object[$name]->parent = $this;
- }
- }
-
- /* Add references/acls/snapshots */
+ tabs::tabs($config, $data, $dn,"groups");
$this->addSpecialTabs();
}