Permalink
Browse files

MDL-33957 - Installation - Fixing field lengths so they are long enou…

…gh for data entry, and don't distort page rendering
  • Loading branch information...
1 parent 4557b47 commit 7114045d8d454f8a9cb6fe17c7d672211db661b8 @jsnfwlr jsnfwlr committed Jun 22, 2012
Showing with 4 additions and 4 deletions.
  1. +3 −3 install.php
  2. +1 −1 lib/installlib.php
View
@@ -410,17 +410,17 @@
echo '</div>';
echo '<div class="formrow"><label for="id_dbname" class="formlabel">'.$strdbname.'</label>';
- echo '<input id="id_dbname" name="dbname" type="text" value="'.s($config->dbname).'" size="30" class="forminput" />';
+ echo '<input id="id_dbname" name="dbname" type="text" value="'.s($config->dbname).'" size="50" class="forminput" />';
echo '</div>';
$disabled = empty($distro->dbuser) ? '' : 'disabled="disabled';
echo '<div class="formrow"><label for="id_dbuser" class="formlabel">'.$strdbuser.'</label>';
- echo '<input id="id_dbuser" name="dbuser" '.$disabled.' type="text" value="'.s($config->dbuser).'" size="30" class="forminput" />';
+ echo '<input id="id_dbuser" name="dbuser" '.$disabled.' type="text" value="'.s($config->dbuser).'" size="50" class="forminput" />';
echo '</div>';
echo '<div class="formrow"><label for="id_dbpass" class="formlabel">'.$strdbpass.'</label>';
// no password field here, the password may be visible in config.php if we can not write it to disk
- echo '<input id="id_dbpass" name="dbpass" type="text" value="'.s($config->dbpass).'" size="30" class="forminput" />';
+ echo '<input id="id_dbpass" name="dbpass" type="text" value="'.s($config->dbpass).'" size="50" class="forminput" />';
echo '</div>';
echo '<div class="formrow"><label for="id_prefix" class="formlabel">'.$strprefix.'</label>';
View
@@ -454,7 +454,7 @@ function install_css_styles() {
.formrow label.formlabel {
display:block;
float:left;
- width: 260px;
+ width: 160px;
margin-right:5px;
text-align:right;
}

0 comments on commit 7114045

Please sign in to comment.