diff options
author | Jan-Christoph Borchardt <JanCBorchardt@fsfe.org> | 2011-08-30 11:17:25 +0400 |
---|---|---|
committer | Jan-Christoph Borchardt <JanCBorchardt@fsfe.org> | 2011-08-30 11:17:25 +0400 |
commit | 5700d8d6b16c7953081a5b360b5c6a4d3403019e (patch) | |
tree | 9b1921e5abf12c28f3dd1bf393b679fb036c3697 /core | |
parent | 427747abbaf695ed8c028c4535aeedf331552245 (diff) |
added labels for the other advanced fields, thanks to Elias Probst for the suggestion
Diffstat (limited to 'core')
-rw-r--r-- | core/css/styles.css | 2 | ||||
-rw-r--r-- | core/templates/installation.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/core/css/styles.css b/core/css/styles.css index d9722fa3174..a3326c00826 100644 --- a/core/css/styles.css +++ b/core/css/styles.css @@ -68,7 +68,7 @@ input[type="submit"].highlight{ background:#ffc100; border:1px solid #db0; text- #login form fieldset { background:0; border:0; margin-bottom:2em; padding:0; } #login form fieldset legend { font-weight:bold; } #login form label { position:absolute; margin:.8em .8em; font-size:1.5em; color:#666; } -#login form label#directorylabel { display:block; margin:.95em 0 .8em -5.5em; } +#login #dbhostlabel, #login #dbtableprefixlabel, #login #directorylabel { display:block; margin:.95em 0 .8em -7em; } #login form input[type="checkbox"]+label { position:relative; margin:0; font-size:1em; text-shadow:#fff 0 1px 0; } #login form ul.errors { background:#fed7d7; border:1px solid #f00; list-style-indent:inside; margin:0 0 4em 0; padding:1em 1em 1em 5em; } diff --git a/core/templates/installation.php b/core/templates/installation.php index ebd726b4fb9..c3cd2968c85 100644 --- a/core/templates/installation.php +++ b/core/templates/installation.php @@ -74,8 +74,8 @@ <a id='showAdvanced'><strong><?php echo $l->t( 'Advanced' ); ?> ▾</strong></a> <fieldset id='datadirField'> - <input type="text" name="dbhost" id="dbhost" value="<?php print OC_Helper::init_var('dbhost', 'localhost'); ?>" placeholder="<?php echo $l->t( 'Host' ); ?>" /> - <input type="text" name="dbtableprefix" id="dbtableprefix" value="<?php print OC_Helper::init_var('dbtableprefix', 'oc_'); ?>" placeholder="<?php echo $l->t( 'Table prefix' ); ?>" /> + <label id="dbhostlabel" for="dbhost"><?php echo $l->t( 'Database host' ); ?></label><input type="text" name="dbhost" id="dbhost" value="<?php print OC_Helper::init_var('dbhost', 'localhost'); ?>" placeholder="<?php echo $l->t( 'Database host' ); ?>" /> + <label id="dbtableprefixlabel" for="dbtableprefix"><?php echo $l->t( 'Table prefix' ); ?></label><input type="text" name="dbtableprefix" id="dbtableprefix" value="<?php print OC_Helper::init_var('dbtableprefix', 'oc_'); ?>" placeholder="<?php echo $l->t( 'Table prefix' ); ?>" /> <label id="directorylabel" for="directory"><?php echo $l->t( 'Data folder' ); ?></label><input type="text" name="directory" id="directory" value="<?php print OC_Helper::init_var('directory', $_['directory']); ?>" placeholder="<?php echo $l->t( 'Data folder' ); ?>" /> </fieldset> |