diff --git a/templates/admin.php b/templates/admin.php index 2e30058..fb227f9 100644 --- a/templates/admin.php +++ b/templates/admin.php @@ -24,11 +24,11 @@ use OCP\IL10N; script('user_sql', 'settings'); style('user_sql', 'settings'); -function print_text_input(IL10N $l, $id, $label, $value = "") +function print_text_input(IL10N $l, $id, $label, $value = "", $type = "text") { echo "
"; @@ -98,7 +98,7 @@ function print_select_options( print_text_input($l, "db-hostname", "Hostname", $_['db.hostname']); print_text_input($l, "db-database", "Database", $_['db.database']); print_text_input($l, "db-username", "Username", $_['db.username']); - print_text_input($l, "db-password", "Password", $_['db.password']); ?> + print_text_input($l, "db-password", "Password", $_['db.password'], "password"); ?>