mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 09:26:35 +02:00
Merge branch 'wip-MDL-33957-master' of git://github.com/phalacee/moodle
This commit is contained in:
commit
04573eaa65
2 changed files with 5 additions and 5 deletions
|
@ -410,21 +410,21 @@ if ($config->stage == INSTALL_DATABASE) {
|
||||||
|
|
||||||
$disabled = empty($distro->dbhost) ? '' : 'disabled="disabled';
|
$disabled = empty($distro->dbhost) ? '' : 'disabled="disabled';
|
||||||
echo '<div class="formrow"><label for="id_dbhost" class="formlabel">'.$strdbhost.'</label>';
|
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="30" class="forminput" />';
|
echo '<input id="id_dbhost" name="dbhost" '.$disabled.' type="text" value="'.s($config->dbhost).'" size="50" class="forminput" />';
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
|
|
||||||
echo '<div class="formrow"><label for="id_dbname" class="formlabel">'.$strdbname.'</label>';
|
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>';
|
echo '</div>';
|
||||||
|
|
||||||
$disabled = empty($distro->dbuser) ? '' : 'disabled="disabled';
|
$disabled = empty($distro->dbuser) ? '' : 'disabled="disabled';
|
||||||
echo '<div class="formrow"><label for="id_dbuser" class="formlabel">'.$strdbuser.'</label>';
|
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>';
|
||||||
|
|
||||||
echo '<div class="formrow"><label for="id_dbpass" class="formlabel">'.$strdbpass.'</label>';
|
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
|
// 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>';
|
||||||
|
|
||||||
echo '<div class="formrow"><label for="id_prefix" class="formlabel">'.$strprefix.'</label>';
|
echo '<div class="formrow"><label for="id_prefix" class="formlabel">'.$strprefix.'</label>';
|
||||||
|
|
|
@ -96,7 +96,7 @@ h2 {
|
||||||
.formrow label.formlabel {
|
.formrow label.formlabel {
|
||||||
display:block;
|
display:block;
|
||||||
float:left;
|
float:left;
|
||||||
width: 260px;
|
width: 160px;
|
||||||
margin-right:5px;
|
margin-right:5px;
|
||||||
text-align:right;
|
text-align:right;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue