diff --git a/main/install/index.php b/main/install/index.php index df32076d54..8bb2ceb589 100644 --- a/main/install/index.php +++ b/main/install/index.php @@ -537,7 +537,7 @@ elseif($_POST['step5'])

-
+
'; ?> '.$dbNameForm; ?>'.get_lang('ReadWarningBelow').')'; ?>
- \ No newline at end of file + diff --git a/main/install/install_db.inc.php b/main/install/install_db.inc.php index d98cf51e6c..f01d9e67a2 100644 --- a/main/install/install_db.inc.php +++ b/main/install/install_db.inc.php @@ -61,7 +61,7 @@ if(mysql_errno() > 0) Please check these values:

host : '.$dbHostForm.'
user : '.$dbUsernameForm.'
- password : '.$dbPassForm.'

+ password : '.str_repeat('*',strlen($dbPassForm)).'

Please go back to step 3.

'; @@ -223,4 +223,4 @@ mysql_select_db($mysqlUserDb) or die(mysql_error()); load_database_script('dokeos_user.sql'); -?> \ No newline at end of file +?> diff --git a/main/install/install_functions.inc.php b/main/install/install_functions.inc.php index ebd36275de..1b98fa28d5 100644 --- a/main/install/install_functions.inc.php +++ b/main/install/install_functions.inc.php @@ -731,7 +731,11 @@ function display_database_parameter($install_type, $parameter_name, $form_field_ } else { - echo ''."\n"; + if ( $form_field_name == 'dbPassForm' ) { + echo ''."\n"; + } else { + echo ''."\n"; + } echo "$extra_notice\n"; } echo "\n"; @@ -1154,4 +1158,4 @@ function test_db_connect ($dbHostForm, $dbUsernameForm, $dbPassForm, $singleDbFo return($dbConnect); //return "1"if no problems, "0" if, in case of multiDB we can't create a new DB and "-1" if there is no connection. } -?> \ No newline at end of file +?>