Browse Source

Brings time onto a new line when forum is in maintenance mode, instead of hiding it

Signed-off-by: Bryan Deakin <[email protected]>
Bryan Deakin 11 years ago
parent
commit
79de0482bd
2 changed files with 6 additions and 3 deletions
  1. 5 1
      Themes/default/css/index.css
  2. 1 2
      Themes/default/index.template.php

+ 5 - 1
Themes/default/css/index.css

@@ -1367,8 +1367,12 @@ img.sort {
 	display: inline;
 	font-size: 0.9em;
 }
+.notice
+{
+ font-weight: bold;
+}
 #search_form {
-	padding: 4px 0 0 0;
+	padding: 8px 0 0 0;
 	text-align: right;
 	min-width: 30em;
 }

+ 1 - 2
Themes/default/index.template.php

@@ -187,8 +187,7 @@ function template_body_above()
 		// Is the forum in maintenance mode?
 		if ($context['in_maintenance'] && $context['user']['is_admin'])
 			echo '
-				<li class="notice">', $txt['maintain_mode_on'], '</li>';
-		else
+				<li class="notice">', $txt['maintain_mode_on'], '<br /></li>';
 			echo '
 				<li>', $context['current_time'], '</li>';
 	}