X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Fplugins%2Fadmin%2Fgroups%2Fmain.inc;h=7b32b8f5e045dca9edd056fdd933b581a4a53fef;hb=dc5e91dbe565f38bbd8ebfd33f7060b21cfd9995;hp=fdb3a290766fb1c950cb61bdb6f8f695cd93b9fe;hpb=94b546598f1da6d07cac0293672cb95df3431d55;p=gosa.git diff --git a/gosa-core/plugins/admin/groups/main.inc b/gosa-core/plugins/admin/groups/main.inc index fdb3a2907..7b32b8f5e 100644 --- a/gosa-core/plugins/admin/groups/main.inc +++ b/gosa-core/plugins/admin/groups/main.inc @@ -1,21 +1,23 @@ remove_lock(); del_lock ($ui->dn); - sess_del ('groupManagement'); + session::un_set ('groupManagement'); } } else { /* Create groupManagement object on demand */ if (!session::is_set('groupManagement') || (isset($_GET['reset']) && $_GET['reset'] == 1)){ - session::set('groupManagement',new groupManagement ($config, get_userinfo())); + session::set('groupManagement',new groupManagement ($config, $ui)); } $groupManagement = session::get('groupManagement'); $groupManagement->save_object(); @@ -36,12 +38,12 @@ if ($remove_lock){ /* Page header*/ if (session::is_set('objectinfo')){ - $display= print_header(get_template_path('images/group.png'), + $display= print_header(get_template_path('plugins/groups/images/'), _("Group administration"), "\"\" ". + get_template_path('images/lists/locked.png')."\"> ". @LDAP::fix(session::get('objectinfo'))); } else { - $display= print_header(get_template_path('images/group.png'), _("Group administration")); + $display= print_header(get_template_path('plugins/groups/images/plugin.png'), _("Group administration")); } $display.= $output; @@ -49,7 +51,7 @@ if ($remove_lock){ /* Reset requested? */ if (isset($_GET['reset']) && $_GET['reset'] == 1){ del_lock ($ui->dn); - sess_del ('groupManagement'); + session::un_set ('groupManagement'); } /* Show and save dialog */