Code

New group application dialog
[gosa.git] / plugins / admin / departments / main.inc
index d39f109f3d9d2dfe03376a45da71c4d7f5dc1017..dfe4471f48b87604250e78eb3553c41055d515ea 100644 (file)
@@ -35,7 +35,7 @@ if ($remove_lock){
 
        /* Page header*/
        if (isset($_SESSION['objectinfo'])){
-               $display= print_header(get_template_path('images/department.png'), _("Department management"), "<img 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')."\"> ".$_SESSION['objectinfo']);
        } else {
                $display= print_header(get_template_path('images/department.png'), _("Department management"));
        }
@@ -48,7 +48,9 @@ if ($remove_lock){
 
        /* Show and save dialog */
        $department->save_object();
+
        $display.= $output;
+
        $_SESSION['department']= $department;
 }