From: hickert Date: Fri, 21 Oct 2005 05:45:41 +0000 (+0000) Subject: System objects will be created in the selected base now. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d97e9cfeac5cef8a879b6c53d4ded17d39494207;p=gosa.git System objects will be created in the selected base now. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1644 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_systemManagement.inc b/plugins/admin/systems/class_systemManagement.inc index e0480b3bb..2e19c9cdb 100644 --- a/plugins/admin/systems/class_systemManagement.inc +++ b/plugins/admin/systems/class_systemManagement.inc @@ -199,6 +199,7 @@ class systems extends plugin $this->systab->set_acl ($this->acl); $this->systab->by_object['termgeneric']->cn= "default"; $this->systab->by_object['termservice']->cn= "default"; + $this->systab->by_object['termgeneric']->base = $_SESSION['terminalfilter']['depselect']; break; case 'workstation': @@ -207,34 +208,42 @@ class systems extends plugin $this->systab->set_acl ($this->acl); $this->systab->by_object['workgeneric']->cn= "wdefault"; $this->systab->by_object['workservice']->cn= "default"; + $this->systab->by_object['workgeneric']->base = $_SESSION['terminalfilter']['depselect']; break; case 'server': $this->systab= new servtabs($this->config, $this->config->data['TABS']['SERVTABS'], $this->dn); $this->systab->set_acl ($this->acl); + $this->systab->by_object['servgeneric']->base = $_SESSION['terminalfilter']['depselect']; break; case 'printer': $this->systab= new printtabs($this->config, $this->config->data['TABS']['PRINTTABS'], $this->dn); $this->systab->set_acl ($this->acl); + $this->systab->by_object['printgeneric']->base = $_SESSION['terminalfilter']['depselect']; break; case 'phone': $this->systab= new phonetabs($this->config, $this->config->data['TABS']['PHONETABS'], $this->dn); $this->systab->set_acl ($this->acl); + $this->systab->by_object['phonegeneric']->base = $_SESSION['terminalfilter']['depselect']; break; case 'component': $this->systab= new componenttabs($this->config, $this->config->data['TABS']['COMPONENTTABS'], $this->dn); $this->systab->set_acl ($this->acl); + $this->systab->by_object['componentgeneric']->base = $_SESSION['terminalfilter']['depselect']; break; } + + $this->systab->base = $_SESSION['terminalfilter']['depselect']; } + /* User wants to edit data? */ if ($s_action == "edit"){