Code

Renamed class names too.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 13 Apr 2007 07:17:55 +0000 (07:17 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 13 Apr 2007 07:17:55 +0000 (07:17 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6038 594d385d-05f5-0310-b6e9-bd551577e9d8

setup/class_setup.inc
setup/class_setupStep_Checks.inc
setup/class_setupStep_Config1.inc
setup/class_setupStep_Config2.inc
setup/class_setupStep_Config3.inc
setup/class_setupStep_Finish.inc
setup/class_setupStep_Language.inc
setup/class_setupStep_Ldap.inc
setup/class_setupStep_License.inc
setup/class_setupStep_Schema.inc

index 4b9af867d5d8ebc1df6984739bbdcc9d58a1bfdd..c99eb17e81581b60964152afc9aedd33e7281e3e 100644 (file)
@@ -31,15 +31,15 @@ class setup
   function setup()
   {
     
-    $this->o_steps[1] = new setup_step_1();
-    $this->o_steps[2] = new setup_step_2();
-    $this->o_steps[3] = new setup_step_3();
-    $this->o_steps[4] = new setup_step_4();
-    $this->o_steps[5] = new setup_step_5();
-    $this->o_steps[6] = new setup_step_6();
-    $this->o_steps[7] = new setup_step_6a();
-    $this->o_steps[8] = new setup_step_7();
-    $this->o_steps[9] = new setup_step_8();
+    $this->o_steps[1] = new Step_Language();
+    $this->o_steps[2] = new Step_Checks();
+    $this->o_steps[3] = new Step_License();
+    $this->o_steps[4] = new Step_Ldap();
+    $this->o_steps[5] = new Step_Schema();
+    $this->o_steps[6] = new Step_Config1();
+    $this->o_steps[7] = new Step_Config2();
+    $this->o_steps[8] = new Step_Config3();
+    $this->o_steps[9] = new Step_Finish();
 
     /* Ensure that setup is not reachable if gosa.conf (CONFIG_FILE) */
     if(file_exists(CONFIG_DIR."/".CONFIG_FILE)){
index b9bbfbf27baa60db022df8681915c906a6b65647..91613989d0bd23c2990937b4089ca027450e54fd 100644 (file)
 */
 
 
-class setup_step_2 extends setup_step
+class Step_Checks extends setup_step
 {
   var $basic_checks = array();
   var $config_checks= array();
   var $is_writeable = array();
 
-  function setup_step_2()
+  function Step_Checks()
   {
     $this->update_strings();
   }
index 9a7afae5a0fde5d69efaebb54246486da701dc33..11872bff37894fe4d495c480d5a5016b89e2ec88 100644 (file)
@@ -20,7 +20,7 @@
 */
 
 
-class setup_step_5 extends setup_step
+class Step_Config1 extends setup_step
 {
 
   var $peopleou   = "ou=people";
@@ -54,7 +54,7 @@ class setup_step_5 extends setup_step
   var $attributes = array("peopleou","groupou","peopledn","uidbase","encryption","mail","theme","errorlvl","cyrusunixstyle",
                           "base_hook","base_hook_active");
 
-  function setup_step_5()
+  function Step_Config1()
   {
     $this->update_strings();
 
index 30dd7f931cacdd233eb14bc44ef6f573d99fff19..b572ff74d6a7de9eacaa9526c6de0cd89c294f82 100644 (file)
@@ -20,7 +20,7 @@
 */
 
 
-class setup_step_6 extends setup_step
+class Step_Config2 extends setup_step
 {
   var $strict         = TRUE;
   var $governmentmode = FALSE;
@@ -47,7 +47,7 @@ class setup_step_6 extends setup_step
                                   "samba_rid_active" => FALSE); 
   var $attributes = array("strict","governmentmode","sambaidmapping","account_expiration");
 
-  function setup_step_6()
+  function Step_Config2()
   {
     $this->update_strings();
   }
index 728f5808ac90e0131f9a5416081ac8eb7c78df08..1c21c6a97aaa2c32728b9742d230fbbe036d5ef1 100644 (file)
@@ -20,7 +20,7 @@
 */
 
 
-class setup_step_6a extends setup_step
+class Step_Config3 extends setup_step
 {
   var $optional = array(
               "enableCopyPaste" => false,
@@ -48,7 +48,7 @@ class setup_step_6a extends setup_step
               "smbhash" => 'SMBHASH');
 
 
-  function setup_step_6a()
+  function Step_Config3()
   {
     $this->update_strings();
 
index 44eeefcb6430202aafdb64ffbf2c304fd9d565b6..c247596bbed191cbe875073286e8281115dfe224 100644 (file)
  */
 
 
-class setup_step_8 extends setup_step
+class Step_Finish extends setup_step
 {
   var $create_backup    = TRUE;
   var $gosa_conf_contrib   = "/gosa.conf";
   var $cfg_file_written = FALSE;
   var $last_backup_name = "";
 
-  function setup_step_8()
+  function Step_Finish()
   {
     $this->update_strings();
   }
index d7a759383360362ac9c5e1cfad83a35340153a26..363b9b4df488153d61546a3eac19dedb27a130b8 100644 (file)
@@ -20,7 +20,7 @@
 */
 
 
-class setup_step_1 extends setup_step
+class Step_Language extends setup_step
 {
   var $lang_selected  = "";       /* Language selected from select box  */
   var $lang           = "en_EN";  /* Detected language */
@@ -28,7 +28,7 @@ class setup_step_1 extends setup_step
   var $attributes     = array("lang","lang_selected");
   var $header_image   = "images/system.png";
 
-  function setup_step_1()
+  function Step_Language()
   {
     $this->lang           = get_browser_language();
     $this->lang_selected  = "";
index 3e3bc899a12e63b904c61afa50d668445665974d..6d09bd71c01de9305fbd4f83de258cb7be680374 100644 (file)
@@ -20,7 +20,7 @@
 */
 
 
-class setup_step_4 extends setup_step
+class Step_Ldap extends setup_step
 {
   var $connection = "ldap://localhost:389";
   var $location   = "default";
@@ -38,7 +38,7 @@ class setup_step_4 extends setup_step
   var $attributes = array("connection","location","admin","password","base","tls");
 
 
-  function setup_step_4()
+  function Step_Ldap()
   {
     $this->update_strings();
   }
index db861f868bc12e51995b1927f2d93571ca7e4e45..956d76e70adb117baae6dccd199b6eb358d24872 100644 (file)
 */
 
 
-class setup_step_3 extends setup_step
+class Step_License extends setup_step
 {
   var $license_found  = false;
   var $License        = "";
 
-  function setup_step_3()
+  function Step_License()
   {
     $this->update_strings();
   }
index 6dba41c0a32c4454d5e215d1e5c6e48cc434cbf7..bcfa7b56abb9e1240c8c2bf7a7f9415b4978c0cd 100644 (file)
@@ -20,7 +20,7 @@
 */
 
 
-class setup_step_7 extends setup_step
+class Step_Schema extends setup_step
 {
   var $checked = array();
   var $not_checked = array();
@@ -29,7 +29,7 @@ class setup_step_7 extends setup_step
   var $enable_schema_check = TRUE;
   var $samba_version       = 3;
 
-  function setup_step_7()
+  function Step_Schema()
   {
     $this->update_strings();
   }