From d5a4b78baef559d8564fb57844cc8196f70398de Mon Sep 17 00:00:00 2001
From: Ralf Becker
\n".lang('You dont have JPGraph version %1 or higher installed! It is needed from ProjectManager for Ganttcharts.',$min_version)."
\n";
echo lang('Please download a recent version from %1 and install it as %2.',
'jpgraph.net/download/',
$jpgraph_path);
- }
+ }
echo "\n";
return $available;
@@ -876,7 +876,7 @@ if ($run_by_webserver)
echo ''.lang('Welcome to the eGroupWare Installation')."
\n";
if(!$ConfigLang)
{
- 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.').'
'; diff --git a/setup/inc/class.setup.inc.php b/setup/inc/class.setup.inc.php index 84c06f3054..add4062f51 100644 --- a/setup/inc/class.setup.inc.php +++ b/setup/inc/class.setup.inc.php @@ -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 } /** @@ -1064,7 +1064,7 @@ class setup if ($primary_group) { vfs_home_hooks::addAccount($account); -/* +/* $GLOBALS['hook_values'] = $account + array('new_passwd' => $account['account_passwd']); $GLOBALS['egw']->hooks->process($GLOBALS['hook_values']+array( 'location' => 'addaccount' @@ -1074,7 +1074,7 @@ class setup else { vfs_home_hooks::addGroup($account+array('account_name' => $account['account_lid'])); -/* +/* $GLOBALS['hook_values'] = $account+(array('account_name' => $account['account_lid'])); $GLOBALS['egw']->hooks->process($GLOBALS['hook_values']+array( 'location' => 'addgroup' diff --git a/setup/manageheader.php b/setup/manageheader.php index 50fb9bb327..9ed1dcdb1e 100644 --- a/setup/manageheader.php +++ b/setup/manageheader.php @@ -168,7 +168,7 @@ function check_header_form() // setting the domain settings from the posted content foreach($_POST['domains'] as $key => $domain) { - if ($_POST['deletedomain'][$key]) + if ($_POST['deletedomain'][$key]) { // Need to actually remove the domain. Drop the DB manually. unset($GLOBALS['egw_domain'][$domain]); @@ -211,7 +211,7 @@ function show_header_form($validation_errors) if(!get_var('ConfigLang',array('POST','COOKIE'))) { - $setup_tpl->set_var('lang_select','