From: hickert Date: Fri, 20 Apr 2007 06:14:51 +0000 (+0000) Subject: Reenabled forward button on last setup step. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=cc8841d8f498a97f9fdfa035ce4cf7c42a5b6a96;p=gosa.git Reenabled forward button on last setup step. If forward button is clicked and the configuration file exists, go to gosa login mask. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6146 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/setup/class_setup.inc b/setup/class_setup.inc index fabac97a9..700ea7761 100644 --- a/setup/class_setup.inc +++ b/setup/class_setup.inc @@ -252,11 +252,7 @@ class setup $str .= ""; } $str.= " "; - if(isset($this->o_steps[$this->i_current + 1])){ $str .= ""; - }else{ - $str .= ""; - } $str .=""; } return($str); diff --git a/setup/class_setupStep_Finish.inc b/setup/class_setupStep_Finish.inc index b37ba728b..579ce6226 100644 --- a/setup/class_setupStep_Finish.inc +++ b/setup/class_setupStep_Finish.inc @@ -61,7 +61,7 @@ class Step_Finish extends setup_step $exists = file_exists(CONFIG_DIR."/".CONFIG_FILE); /* Redirect to GOsa login */ - if(isset($_POST['use_gosa'])){ + if(isset($_POST['next']) && $exists){ session_destroy(); header("Location: index.php"); exit(); diff --git a/setup/class_setupStep_Ldap.inc b/setup/class_setupStep_Ldap.inc index 6c4a1ab9e..211e8191e 100644 --- a/setup/class_setupStep_Ldap.inc +++ b/setup/class_setupStep_Ldap.inc @@ -43,9 +43,6 @@ class Step_Ldap extends setup_step function Step_Ldap() { $this->update_strings(); - - - }