X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Fplugins%2Fadmin%2Fgroups%2Fmain.inc;h=6bbaeb9ef4e1d7bb148bae764ccee59ff3d00f30;hb=8643c90e256421271e1e1fbb1b40301a80b214cf;hp=e86d46c926fd5a812add42caa4a776e7cd18135c;hpb=42219fa478e91ed1ba3d6b41c9b7988bcb4ec66f;p=gosa.git diff --git a/gosa-core/plugins/admin/groups/main.inc b/gosa-core/plugins/admin/groups/main.inc index e86d46c92..6bbaeb9ef 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, session::get('ui'))); + 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/plugin.png'), _("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 */