diff --git a/plugins/admin/departments/class_departmentManagement.inc b/plugins/admin/departments/class_departmentManagement.inc
index b461d6b5e5867f5cee11e4930183534c387e0ba5..0265935dc6a8768c4d81df12504d895653787149 100644 (file)
if(isset($_POST['depselect']) && $_POST['depselect']){
$depfilter['depselect']= $_POST['depselect'];
- $this->reload();
}
if($s_action=="root"){
$depfilter['depselect']=($this->config->current['BASE']);
- $this->reload();
}
if($s_action=="home"){
$depfilter['depselect']=(preg_replace("/^[^,]+,/","",$this->ui->dn));
$depfilter['depselect']=(preg_replace("/^[^,]+,/","",$depfilter['depselect']));
- $this->reload();
}
if($s_action=="back"){
}else{
$depfilter['depselect']= $this->config->departments["/"];
}
- $this->reload();
}
if(isset($_GET['act'])&&($_GET['act']=="dep_open")){
$s_action="open";
$s_entry = base64_decode($_GET['dep_id']);
$depfilter['depselect']= $this->config->departments[trim($s_entry)];
- $this->reload();
}
if (isset($_GET['search'])){