mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +01:00
* fixed "undefined function lang_select" issue, if no cookies are allowed, also showing again language selection for new installs
This commit is contained in:
parent
792e0af077
commit
d5a4b78bae
@ -876,7 +876,7 @@ if ($run_by_webserver)
|
||||
echo '<h1>'.lang('Welcome to the eGroupWare Installation')."</h1>\n";
|
||||
if(!$ConfigLang)
|
||||
{
|
||||
echo '<p><form action="check_install.php?intro=1" method="Post">Please Select your language '.lang_select(True,'en')."</form></p>\n";
|
||||
echo '<p><form action="check_install.php?intro=1" method="Post">Please Select your language '.setup_html::lang_select(True,'en')."</form></p>\n";
|
||||
}
|
||||
echo '<p>'.lang('The first step in installing eGroupWare is to ensure your environment has the necessary settings to correctly run the application.').'</p>';
|
||||
echo '<p>'.lang('We will now run a series of tests, which may take a few minutes. Click the link below to proceed.').'</p>';
|
||||
|
@ -210,7 +210,7 @@ class setup
|
||||
{
|
||||
return $ConfigLang;
|
||||
}
|
||||
return 'en';
|
||||
return null; // not returning 'en', as it suppresses the language selection in check_install and manageheader
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -211,7 +211,7 @@ function show_header_form($validation_errors)
|
||||
|
||||
if(!get_var('ConfigLang',array('POST','COOKIE')))
|
||||
{
|
||||
$setup_tpl->set_var('lang_select','<tr><td colspan="2"><form action="manageheader.php" method="post">Please Select your language '.lang_select(True,'en')."</form></td></tr>");
|
||||
$setup_tpl->set_var('lang_select','<tr><td colspan="2"><form action="manageheader.php" method="post">Please Select your language '.setup_html::lang_select(True,'en')."</form></td></tr>");
|
||||
}
|
||||
|
||||
$setup_tpl->set_var('pagemsg',$GLOBALS['egw_info']['setup']['PageMSG']);
|
||||
|
Loading…
Reference in New Issue
Block a user