Code

Updated layout
[gosa.git] / setup / class_setupStep.inc
index 52cfbdc79d60c6d8648f6cd5e52b597f3e836361..b7438ea703858494503ad9ad818ad6f4b6436171 100644 (file)
@@ -29,7 +29,24 @@ class setup_step extends plugin
   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()
+  {
+  }
+
+  function execute()
+  { 
+  }
+
+  function save_object()
+  {
+    /* Do not call plugin::save_object. This causes acl trouble  */
+  }
 
   function get_title()
   { 
@@ -97,9 +114,17 @@ class setup_step extends plugin
     }
     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:
 ?>