Merge pull request #2914 from Kondou-ger/label_overlapping_value

Fix textfield label overlapping value.
This commit is contained in:
Bart Visscher 2013-06-29 04:09:50 -07:00
commit 414b5f150e
2 changed files with 2 additions and 2 deletions

View File

@ -165,7 +165,7 @@
<p class="infield groupbottom">
<label for="dbhost" class="infield" id="dbhostlabel"><?php p($l->t( 'Database host' )); ?></label>
<input type="text" name="dbhost" id="dbhost" placeholder=""
value="<?php p(OC_Helper::init_var('dbhost', 'localhost')); ?>" />
value="<?php p(OC_Helper::init_var('dbhost')); ?>" />
</p>
</fieldset>

View File

@ -61,7 +61,7 @@ class OC_Setup {
$error[] = $l->t("%s you may not use dots in the database name", array($dbprettyname));
}
if($dbtype != 'oci' && empty($options['dbhost'])) {
$error[] = $l->t("%s set the database host.", array($dbprettyname));
$options['dbhost'] = 'localhost';
}
}