Code

second batch of update for trunk
[gosa.git] / setup / class_setupStep.inc
index f69abdfa5242f5b85c9fbd313c14b0b5553c5572..5364187e4544dffbd153126724dc06e345913ed3 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,11 +29,19 @@ class setup_step
   var $is_enabled   = false;
   var $is_completed = false;
 
-  var $attributes   = array();
+  var $header_image = "images/personal.png";
 
+  var $attributes   = array();
+  var $parent       = NULL;
+  var $dialog       = FALSE;
+  
   function setup_step()
   {
-   }
+  }
+
+  function execute()
+  { 
+  }
 
   function save_object()
   {
@@ -106,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;font-weight:bold;\"><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:
 ?>