index 1e71cbcf3bc7f0e358bd98b617871834e3a0c95f..ae19b7451f9c023646aa2710cad4a681fa525778 100644 (file)
$_SESSION['FAI']= new faiManagement($config, $ui);
}
$FAI= $_SESSION['FAI'];
+ $FAI->save_object();
$output= $FAI->execute();
- /* Page header*/
- if (isset($_SESSION['objectinfo'])){
- $display= print_header(get_template_path('images/fai.png'), _("Fully Automatic Installation"), "<img alt=\"\" align=\"middle\" src=\"".get_template_path('images/closedlock.png')."\"> ".@ldap::fix($_SESSION['objectinfo']));
- } else {
- $display= print_header(get_template_path('images/fai.png'), _("Fully Automatic Installation"));
- }
-
/* Reset requested? */
if (isset($_GET['reset']) && $_GET['reset'] == 1){
del_lock ($ui->dn);
sess_del ('FAI');
}
-
- /* Show and save dialog */
- $FAI->save_object();
+ /* Page header*/
+ if (isset($_SESSION['objectinfo'])){
+ $display= print_header(get_template_path('images/fai.png'), _("Fully Automatic Installation"), "<img alt=\"\" align=\"middle\" src=\"".get_template_path('images/closedlock.png')."\"> ".@LDAP::fix($_SESSION['objectinfo']));
+ } else {
+ $display= print_header(get_template_path('images/fai.png'), _("Fully Automatic Installation"));
+ }
$display.= $output;
+
$_SESSION['FAI']= $FAI;
}