diff --git a/setup/manageheader.php b/setup/manageheader.php index fc3b5b48f1..d4d8f186ca 100644 --- a/setup/manageheader.php +++ b/setup/manageheader.php @@ -44,6 +44,13 @@ $adddomain = get_var('adddomain',Array('POST')); + $db_fullnames = array( + 'pgsql' => 'PostgreSQL', + 'mysql' => 'MySQL', + 'mssql' => 'MS SQL Server', + 'oracle' => 'Oracle' + ); + $default_db_ports = array( 'pgsql' => 5432, 'mysql' => 3306, @@ -247,7 +254,6 @@ { $detected .= lang('You appear to have MySQL support enabled') . '
' . "\n"; $supported_db[] = 'mysql'; - $default_db_ports['mysql'] = '3306'; } else { @@ -349,27 +355,19 @@ $setup_tpl->set_var('lang_delete',lang('Delete')); $setup_tpl->set_var('db_domain','default'); $setup_tpl->set_var('db_host','localhost'); - $setup_tpl->set_var('db_port','3306'); $setup_tpl->set_var('db_name','egroupware'); $setup_tpl->set_var('db_user','egroupware'); - $setup_tpl->set_var('db_pass','your_password'); - $setup_tpl->set_var('db_type','mysql'); + $setup_tpl->set_var('db_pass',''); $setup_tpl->set_var('config_user','changeme'); - $setup_tpl->set_var('config_pass','changeme'); + $setup_tpl->set_var('config_pass',''); while(list($k,$v) = @each($supported_db)) { - if($v == $GLOBALS['phpgw_domain'][$key]['db_type']) - { - $selected = ' selected '; - $found_dbtype = true; - } - else - { - $selected = ''; - } - $dbtype_options .= '