index c41fc5922cf1c8be318efebc33c4fd99dc594d3f..86c96ae95abf749cd163644350b7e4dee8b98b4a 100644 (file)
}
}
register_global("ogfilter", $ogfilter);
+
+ if(isset($_SESSION['ogroupfilter']['depselect'])){
+ $this->base = $_SESSION['ogroupfilter']['depselect'];
+ }
/* Load member data */
$this->reload();
}
/* Bases / Departments */
- if ($this->dn == "new"){
- $ui= get_userinfo();
- $this->base= dn2base($ui->dn);
- } else {
+
if (isset($_POST['base'])){
$this->base= $_POST['base'];
- } else {
- $this->base= preg_replace ("/^[^,]+,[^,]+,/", "", $this->dn);
}
- }
/* Assemble combine string */
if ($this->gosaGroupObjects == "[]"){
} else {
$this->allobjects[$attrs["dn"]]= array("text" => "$name", "type" => "$type");
}
+ $this->allobjects[$attrs["dn"]]['objectClass'] = $attrs['objectClass'];
+ if(isset($attrs['uid'])){
+ $this->allobjects[$attrs["dn"]]['uid'] = $attrs['uid'];
+ }
}
uasort ($this->allobjects, 'sort_list');
reset ($this->allobjects);