|
@@ -731,7 +731,11 @@ function display_database_parameter($install_type, $parameter_name, $form_field_
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- echo '<td><input type="text" size="'.DATABASE_FORM_FIELD_DISPLAY_LENGTH.'" maxlength="'.MAX_FORM_FIELD_LENGTH.'" name="'.$form_field_name.'" id="'.$form_field_name.'" value="'.htmlentities($parameter_value).'" />'."</td>\n";
|
|
|
+ if ( $form_field_name == 'dbPassForm' ) {
|
|
|
+ echo '<td><input type="password" size="'.DATABASE_FORM_FIELD_DISPLAY_LENGTH.'" maxlength="'.MAX_FORM_FIELD_LENGTH.'" name="'.$form_field_name.'" id="'.$form_field_name.'" value="'.htmlentities($parameter_value).'" />'."</td>\n";
|
|
|
+ } else {
|
|
|
+ echo '<td><input type="text" size="'.DATABASE_FORM_FIELD_DISPLAY_LENGTH.'" maxlength="'.MAX_FORM_FIELD_LENGTH.'" name="'.$form_field_name.'" id="'.$form_field_name.'" value="'.htmlentities($parameter_value).'" />'."</td>\n";
|
|
|
+ }
|
|
|
echo "<td>$extra_notice</td>\n";
|
|
|
}
|
|
|
echo "</tr>\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.
|
|
|
}
|
|
|
|
|
|
-?>
|
|
|
+?>
|