Skip to content

Commit

Permalink
Use proper input type 'text' instead of 'textbox'
Browse files Browse the repository at this point in the history
This allows the correct Modern UI style to be applied.

Fixes #22850
  • Loading branch information
dregad committed May 15, 2017
1 parent 4917320 commit cf89c0f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions admin/install.php
Expand Up @@ -594,7 +594,7 @@ function print_test( $p_test_description, $p_result, $p_hard_fail = true, $p_mes
Hostname (for Database Server)
</td>
<td>
<input name="hostname" type="textbox" value="<?php echo string_attribute( $f_hostname ) ?>">
<input name="hostname" type="text" value="<?php echo string_attribute( $f_hostname ) ?>">
</td>
</tr>

Expand All @@ -604,7 +604,7 @@ function print_test( $p_test_description, $p_result, $p_hard_fail = true, $p_mes
Username (for Database)
</td>
<td>
<input name="db_username" type="textbox" value="<?php echo string_attribute( $f_db_username ) ?>">
<input name="db_username" type="text" value="<?php echo string_attribute( $f_db_username ) ?>">
</td>
</tr>

Expand All @@ -627,7 +627,7 @@ function print_test( $p_test_description, $p_result, $p_hard_fail = true, $p_mes
Database name (for Database)
</td>
<td>
<input name="database_name" type="textbox" value="<?php echo string_attribute( $f_database_name ) ?>">
<input name="database_name" type="text" value="<?php echo string_attribute( $f_database_name ) ?>">
</td>
</tr>
<?php
Expand All @@ -640,7 +640,7 @@ function print_test( $p_test_description, $p_result, $p_hard_fail = true, $p_mes
Admin Username (to <?php echo( !$g_database_upgrade ) ? 'create Database' : 'update Database'?> if required)
</td>
<td>
<input name="admin_username" type="textbox" value="<?php echo string_attribute( $f_admin_username ) ?>">
<input name="admin_username" type="text" value="<?php echo string_attribute( $f_admin_username ) ?>">
</td>
</tr>

Expand Down Expand Up @@ -669,7 +669,7 @@ function print_test( $p_test_description, $p_result, $p_hard_fail = true, $p_mes
echo "<tr>\n\t<td>\n";
echo "\t\t" . $t_prefix_labels[$t_key] . "\n";
echo "\t</td>\n\t<td>\n\t\t";
echo '<input id="' . $t_key . '" name="' . $t_key . '" type="textbox" value="' . $f_db_table_prefix . '">';
echo '<input id="' . $t_key . '" name="' . $t_key . '" type="text" value="' . $f_db_table_prefix . '">';
echo "\n\t</td>\n</tr>\n\n";
}

Expand Down

0 comments on commit cf89c0f

Please sign in to comment.