index 72c8cd7e41c11673c420cee8634bbb591bf7f760..6616f8e5b762e8c352dfc4f1496c4d4deb55d7c2 100644 (file)
$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);
/* 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;
}