From 4f513f279a32da7027ab628e7d619070c9732258 Mon Sep 17 00:00:00 2001
From: Jan-Christoph Borchardt <hey@jancborchardt.net>
Date: Thu, 6 Dec 2012 16:41:06 +0100
Subject: [PATCH] fix dbhostlabel not disappearing, remove obsolete CSS

---
 core/css/styles.css             | 1 -
 core/templates/installation.php | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/core/css/styles.css b/core/css/styles.css
index d41045ad5f..0f3f11fdf1 100644
--- a/core/css/styles.css
+++ b/core/css/styles.css
@@ -140,7 +140,6 @@ input[type="submit"].highlight{ background:#ffc100; border:1px solid #db0; text-
 p.infield { position: relative; }
 label.infield { cursor: text !important; }
 #login form label.infield { position:absolute; font-size:19px; color:#aaa; white-space:nowrap; }
-#login #dbhostlabel, #login #directorylabel { display:block; margin:.95em 0 .8em -8em; }
 #login form input[type="checkbox"]+label { position:relative; margin:0; font-size:1em; text-shadow:#fff 0 1px 0; }
 #login form .errors { background:#fed7d7; border:1px solid #f00; list-style-indent:inside; margin:0 0 2em; padding:1em; }
 
diff --git a/core/templates/installation.php b/core/templates/installation.php
index 5132192e83..f7a8a028c4 100644
--- a/core/templates/installation.php
+++ b/core/templates/installation.php
@@ -124,7 +124,7 @@
 		</div>
 		<?php endif; ?>
 		<p class="infield groupbottom">
-			<label for="dbhost" class="infield"><?php echo $l->t( 'Database host' ); ?></label>
+			<label for="dbhost" class="infield" id="dbhostlabel"><?php echo $l->t( 'Database host' ); ?></label>
 			<input type="text" name="dbhost" id="dbhost" value="<?php print OC_Helper::init_var('dbhost', 'localhost'); ?>" />
 		</p>
 	</fieldset>
-- 
GitLab