remove_lock();
del_lock ($ui->dn);
sess_del ('systems');
}
} else {
/* Create usermanagement object on demand */
if (!isset($_SESSION['systems']) || (isset($_GET['reset']) && $_GET['reset'] == 1)){
$_SESSION['systems']= new systems($config, $ui);
}
$systems= $_SESSION['systems'];
$systems->save_object();
$output= $systems->execute();
/* Reset requested? */
if (isset($_GET['reset']) && $_GET['reset'] == 1){
del_lock ($ui->dn);
sess_del ('systems');
}
/* Page header*/
if (isset($_SESSION['objectinfo'])){
$display= print_header(get_template_path('images/system.png'), _("System management"), "
".$_SESSION['objectinfo']);
} else {
$display= print_header(get_template_path('images/system.png'), _("System management"));
}
/* Show and save dialog */
$display.= $output;
$display.="";
$_SESSION['systems']= $systems;
}
?>