index 32dba79b58effb0c53484e0c5f72721120256745..86c96ae95abf749cd163644350b7e4dee8b98b4a 100644 (file)
}
}
register_global("ogfilter", $ogfilter);
+
+ if(isset($_SESSION['ogroupfilter']['depselect'])){
+ $this->base = $_SESSION['ogroupfilter']['depselect'];
+ }
/* Load member data */
$this->reload();
{
/* Do we represent a valid group? */
if (!$this->is_account){
- $display= "<img src=\"images/stop.png\" align=center> <b>".
+ $display= "<img alt=\"\" src=\"images/stop.png\" align=\"middle\"> <b>".
_("This 'dn' is no object group.")."</b>";
return ($display);
}
}
/* 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);