MDL-33928 - Installation - Fixing the size of the host field for database details...
authorJason Fowler <phalacee@gmail.com>
Thu, 21 Jun 2012 03:18:51 +0000 (11:18 +0800)
committerJason Fowler <phalacee@gmail.com>
Thu, 21 Jun 2012 03:18:51 +0000 (11:18 +0800)
install.php

index e50e3bc..098e132 100644 (file)
@@ -410,7 +410,7 @@ if ($config->stage == INSTALL_DATABASE) {
 
     $disabled = empty($distro->dbhost) ? '' : 'disabled="disabled';
     echo '<div class="formrow"><label for="id_dbhost" class="formlabel">'.$strdbhost.'</label>';
-    echo '<input id="id_dbhost" name="dbhost" '.$disabled.' type="text" value="'.s($config->dbhost).'" size="50" class="forminput" />';
+    echo '<input id="id_dbhost" name="dbhost" '.$disabled.' type="text" value="'.s($config->dbhost).'" size="30" class="forminput" />';
     echo '</div>';
 
     echo '<div class="formrow"><label for="id_dbname" class="formlabel">'.$strdbname.'</label>';