diff --git a/setup/check_install.php b/setup/check_install.php index 67d9db2ff2..e92292b106 100644 --- a/setup/check_install.php +++ b/setup/check_install.php @@ -426,7 +426,6 @@ if ($run_by_webserver) { - //echo "\n
\nChecking the eGroupWare install\n
\n\n"; $tpl_root = $GLOBALS['phpgw_setup']->html->setup_tpl_dir('setup'); $setup_tpl = CreateObject('setup.Template',$tpl_root); $setup_tpl->set_file(array( @@ -435,9 +434,17 @@ )); $ConfigDomain = get_var('ConfigDomain',Array('POST','COOKIE')); if (@$_GET['intro']) { + if($ConfigLang = get_var('ConfigLang',array('POST','COOKIE'))) + { + $GLOBALS['phpgw_setup']->set_cookie('ConfigLang',$ConfigLang,(int) (time()+(1200*9)),'/'); + } $GLOBALS['phpgw_setup']->html->show_header(lang('Welcome to the eGroupWare Installation'),False,'config'); echo '

'.lang('Welcome to the eGroupWare Installation')."

\n"; - echo lang('The first step in installing eGroupWare is to ensure your environment has the necessary settings to correctly run the application.'); + if(!$ConfigLang) + { + echo '

Please Select your language '.lang_select(True,'en')."

\n"; + } + echo '

'.lang('The first step in installing eGroupWare is to ensure your environment has the necessary settings to correctly run the application.'); echo '

'.lang('We will now run a series of tests, which may take a few minutes. Click the link below to proceed.'); echo '

'.lang('Run installation tests').'

'; $setup_tpl->pparse('out','T_footer');