Code

Moved strict to step1
[gosa.git] / setup / class_setupStep.inc
index cbbb73926bd165345ca3b290e1b3cbc2267a421d..b7438ea703858494503ad9ad818ad6f4b6436171 100644 (file)
@@ -20,7 +20,7 @@
 */
 
 
-class setup_step 
+class setup_step extends plugin
 {
   var $s_title      = "Still undefined";
   var $s_title_long = "This is a still undefined long title";
@@ -29,9 +29,12 @@ class setup_step
   var $is_enabled   = false;
   var $is_completed = false;
 
+  var $header_image = "images/personal.png";
+
   var $attributes   = array();
   var $parent       = NULL;
-
+  var $dialog       = FALSE;
+  
   function setup_step()
   {
   }
@@ -111,9 +114,17 @@ class setup_step
     }
     return($tmp);
   }
-}
 
+  function print_header()
+  {
+    $image= get_template_path($this->header_image);
+    $display= "<div style='padding:3px;'>";
+    $display.= "  <p class=\"center\" style=\"margin:0px 0px 0px 5px;padding:0px;font-size:24px;\"><img class=\"center\" src=\"$image\" align=\"middle\" alt=\"*\">&nbsp;".$this->s_title_long."</p>\n";
+    $display.= "</div>\n";
 
+    return($display);
+  }
+}
 
 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
 ?>