From: hickert Date: Thu, 19 Apr 2007 06:26:21 +0000 (+0000) Subject: Added Migration step X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=009473598369b39346519a1a2eb206c08f5e8a40;p=gosa.git Added Migration step git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6106 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/html/setup.php b/html/setup.php index 52f528b38..dfc4c8e56 100644 --- a/html/setup.php +++ b/html/setup.php @@ -36,6 +36,7 @@ require_once("../setup/class_setupStep_Config1.inc"); require_once("../setup/class_setupStep_Config2.inc"); require_once("../setup/class_setupStep_Config3.inc"); require_once("../setup/class_setupStep_Schema.inc"); +require_once("../setup/class_setupStep_Migrate.inc"); require_once("../setup/class_setupStep_Finish.inc"); diff --git a/setup/class_setup.inc b/setup/class_setup.inc index a51d922c5..39b13b269 100644 --- a/setup/class_setup.inc +++ b/setup/class_setup.inc @@ -40,7 +40,9 @@ class setup $this->o_steps[$i++] = new Step_Config1(); $this->o_steps[$i++] = new Step_Config2(); $this->o_steps[$i++] = new Step_Config3(); + $this->o_steps[$i++] = new Step_Migrate(); $this->o_steps[$i++] = new Step_Finish(); + $this->i_steps = $i-1; /* Ensure that setup is not reachable if gosa.conf (CONFIG_FILE) */ if(file_exists(CONFIG_DIR."/".CONFIG_FILE)){ diff --git a/setup/class_setupStep_Migrate.inc b/setup/class_setupStep_Migrate.inc new file mode 100644 index 000000000..d04e8bca1 --- /dev/null +++ b/setup/class_setupStep_Migrate.inc @@ -0,0 +1,54 @@ +update_strings(); + } + + function update_strings() + { + $this->s_title = _("Ldap migration assistent"); + $this->s_title_long = _("Ldap migration assistent"); + $this->s_info = _("This step allows you to migrate your ldap database"); + } + + function execute() + { + $smarty = get_smarty(); + return($smarty->fetch(get_template_path("setup_migrate.tpl",TRUE,dirname(__FILE__)))); + } + + function save_object() + { + $this->is_completed = TRUE; + } +} + +// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: +?> diff --git a/setup/setup_migrate.tpl b/setup/setup_migrate.tpl new file mode 100644 index 000000000..9032bdcd7 --- /dev/null +++ b/setup/setup_migrate.tpl @@ -0,0 +1,6 @@ +
+
+

{t}Migration dialog{/t}

+ Nothing yet +
+