index 94a5747c6c8dc30108d679064d4369e1298a0bef..ce28ef5745810f7a3476926769e5a0bb312058d5 100644 (file)
}else{
/* Create usermanagement object on demand */
}else{
/* Create usermanagement object on demand */
- if (!session::is_set('userManagement') ||
- (isset($_GET['reset']) && $_GET['reset'] == 1)){
+ if (!session::is_set('userManagement')){
$userManagement= new userManagement ($config, $ui);
$userManagement= new userManagement ($config, $ui);
- $userManagement->set_acl_category("users");
session::set('userManagement',$userManagement);
}
$userManagement = session::get('userManagement');
session::set('userManagement',$userManagement);
}
$userManagement = session::get('userManagement');
- $userManagement->save_object();
- $output= $userManagement->execute();
-
- /* Page header*/
- if (get_object_info() != ""){
- $display= print_header(get_template_path($userManagement->plIcon),
- _("User administration"),
- "<img alt=\"\" class=\"center\" src=\"".
- get_template_path('images/lists/locked.png').
- "\"> ".LDAP::fix(get_object_info()));
- } else {
- $display= print_header(get_template_path($userManagement->plIcon),
- _("User administration"));
- }
-
- /* Generate dialog output */
- $display.= $output;
+ $display= $userManagement->execute();
/* Reset requested? */
if (isset($_GET['reset']) && $_GET['reset'] == 1){
/* Reset requested? */
if (isset($_GET['reset']) && $_GET['reset'] == 1){