Code

Updated layout
[gosa.git] / setup / class_setup.inc
index 39b13b2693eff98724b573a57ca79bfc8a6065c4..fabac97a9ef526c2198f9767d737ab23e6794079 100644 (file)
@@ -59,6 +59,12 @@ class setup
 
   function execute()
   {
+    /* display step error msgs */
+    $msgs = $this->o_steps[$this->i_current]->check();
+    foreach($msgs as $msg){
+      print_red($msg);
+    }
+
     $this->o_steps[$this->i_last]->set_active(FALSE);
     $this->o_steps[$this->i_current]->set_active();
     $content = $this->o_steps[$this->i_current]->execute();
@@ -238,7 +244,7 @@ class setup
     if($this->o_steps[$this->i_current]->dialog){
       $str ="";
     }else{
-      $str ="";
+      $str ="<p class='seperator' style='margin-bottom:10px;'>&nbsp;</p>";
       $str.="   <div style='text-align:right;float:top;'>";
       if(isset($this->o_steps[$this->i_current -1]) && $this->o_steps[$this->i_current -1]->is_enabled()){
         $str .= "<input type='submit' name='last' value='"._("Back")."'>";