Code

Udpated mime acls
[gosa.git] / plugins / admin / departments / main.inc
index d39f109f3d9d2dfe03376a45da71c4d7f5dc1017..4512d6954a1e6100bb5995fe09cfcb2ebca35d3d 100644 (file)
@@ -31,11 +31,14 @@ if ($remove_lock){
                $_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 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"));
        }
@@ -46,8 +49,6 @@ if ($remove_lock){
                sess_del ('department');
        }
 
-       /* Show and save dialog */
-       $department->save_object();
        $display.= $output;
        $_SESSION['department']= $department;
 }