diff --git a/main/install/index.php b/main/install/index.php index fb09d0ba4c..3f7b62e393 100755 --- a/main/install/index.php +++ b/main/install/index.php @@ -66,10 +66,25 @@ if (!array_key_exists($install_language, get_language_folder_list())) { $install_language = 'english'; } +$installationGuideLink = '../../documentation/installation_guide.html'; + // Loading language files. require api_get_path(SYS_LANG_PATH).'english/trad4all.inc.php'; if ($install_language != 'english') { include_once api_get_path(SYS_LANG_PATH).$install_language.'/trad4all.inc.php'; + switch ($install_language) { + case 'french': + $installationGuideLink = '../../documentation/installation_guide_fr_FR.html'; + break; + case 'spanish': + $installationGuideLink = '../../documentation/installation_guide_es_ES.html'; + break; + case 'italian': + $installationGuideLink = '../../documentation/installation_guide_it_IT.html'; + break; + default: + break; + } } // These global variables must be set for proper working of the function get_lang(...) during the installation. @@ -270,6 +285,8 @@ if (!$_POST) { $current_step = 5; } elseif (!empty($_POST['step5'])) { $current_step = 6; +} elseif (@$_POST['step6']) { + $current_step = 7; } // Managing the $encryptPassForm @@ -388,7 +405,7 @@ if ($encryptPassForm == '1') {
- +