From: cash Date: Tue, 5 Oct 2010 11:07:54 +0000 (+0000) Subject: Fixes #2523 - errors get red box during install X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=9577651544d2a912f6eb4b13120948c68a7949fc;p=lorea%2Felgg.git Fixes #2523 - errors get red box during install git-svn-id: http://code.elgg.org/elgg/trunk@7012 36083f99-b078-4883-b0ff-0f9b5a30f544 --- diff --git a/install/install.css b/install/install.css index de10f10a5..bac5d36d8 100644 --- a/install/install.css +++ b/install/install.css @@ -264,3 +264,9 @@ select { border: 1px solid #aaaaaa; background: #ffffff; } + +.messages { + padding: 3px 10px 3px 10px; + margin: 20px 0px 10px 0px; + width: 95%; +} \ No newline at end of file diff --git a/views/installation/messages/errors/list.php b/views/installation/messages/errors/list.php index c270d6c0a..506f73fec 100644 --- a/views/installation/messages/errors/list.php +++ b/views/installation/messages/errors/list.php @@ -14,28 +14,14 @@ if (!empty($vars['object']) && is_array($vars['object'])) { ?> - -
-
+ +
$error)); - //echo "
"; - } + foreach ($vars['object'] as $error) { + echo elgg_view('messages/errors/error', array('object' => $error)); + } ?> -
- - -
+