index 6e3629ed3b92c38919917aa84970cfb2d7af08f4..4512d6954a1e6100bb5995fe09cfcb2ebca35d3d 100644 (file)
$_SESSION['department']= new departmentManagement($config, $ui);
}
$department= $_SESSION['department'];
+
+ /* Show and save dialog */
+ $department->save_object();
$output= $department->execute();
/* Page header*/
if (isset($_SESSION['objectinfo'])){
- $display= print_header(get_template_path('images/department.png'), _("Department management"), "<img alt=\"\" align=\"middle\" src=\"".get_template_path('images/closedlock.png')."\"> ".$_SESSION['objectinfo']);
+ $display= print_header(get_template_path('images/department.png'), _("Department management"), "<img alt=\"\" align=\"middle\" src=\"".get_template_path('images/closedlock.png')."\"> ".@LDAP::fix($_SESSION['objectinfo']));
} else {
$display= print_header(get_template_path('images/department.png'), _("Department management"));
}
sess_del ('department');
}
- /* Show and save dialog */
- $department->save_object();
-
$display.= $output;
-
- $display.="<!-- Place cursor -->
- <script language=\"JavaScript\" type=\"text/javascript\">
- document.mainform.edit_finish.focus();
- </script>";
-
$_SESSION['department']= $department;
}