diff --git a/plugins/admin/departments/class_departmentManagement.inc b/plugins/admin/departments/class_departmentManagement.inc
index 947b541af6e40ce03c6911e6b14f4baf36072d67..b62679e1328e2dcaf80085d4bf400045af6ce586 100644 (file)
return(gen_locked_message($user, $this->dn));
} else {
add_lock ($this->dn, $this->ui->dn);
return(gen_locked_message($user, $this->dn));
} else {
add_lock ($this->dn, $this->ui->dn);
- $smarty->assign("info", sprintf(_("You're about to delete the whole LDAP subtree placed under '%s'."), LDAP::fix($this->dn)));
+ $smarty->assign("info", sprintf(_("You're about to delete the whole LDAP subtree placed under '%s'."), @LDAP::fix($this->dn)));
$display.= $smarty->fetch (get_template_path('remove.tpl', TRUE));
return ($display);
}
$display.= $smarty->fetch (get_template_path('remove.tpl', TRUE));
return ($display);
}
/* This var indicated that there is an object which isn't saved right now. */
$this->ObjectInSaveMode = true;
/* This var indicated that there is an object which isn't saved right now. */
$this->ObjectInSaveMode = true;
+
+ $this->config->get_departments($this->dn);
+ $this->config->make_idepartments();
+
+ $this->DivListDepartment->config=$this->config;
} else {
/* Ok. There seem to be errors regarding to the tab data,
} else {
/* Ok. There seem to be errors regarding to the tab data,
return ($display);
}else{
/* Display dialog with group list */
return ($display);
}else{
/* Display dialog with group list */
+ $this->DivListDepartment->parent = $this;
$this->DivListDepartment->execute();
$this->reload();
$this->DivListDepartment->DepartmentsAdded = true;
$this->DivListDepartment->execute();
$this->reload();
$this->DivListDepartment->DepartmentsAdded = true;