Merge pull request #2914 from Kondou-ger/label_overlapping_value
Fix textfield label overlapping value.
This commit is contained in:
commit
414b5f150e
|
@ -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>
|
||||
|
||||
|
|
|
@ -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';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue