diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-10-05 11:07:54 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-10-05 11:07:54 +0000 |
commit | 9577651544d2a912f6eb4b13120948c68a7949fc (patch) | |
tree | 744635130c129525d2bb0c12c0957463525b18e7 /views | |
parent | ce12b030a4cb0f2680ddf0563df9358e82de0968 (diff) | |
download | elgg-9577651544d2a912f6eb4b13120948c68a7949fc.tar.gz elgg-9577651544d2a912f6eb4b13120948c68a7949fc.tar.bz2 |
Fixes #2523 - errors get red box during install
git-svn-id: http://code.elgg.org/elgg/trunk@7012 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views')
-rw-r--r-- | views/installation/messages/errors/list.php | 24 | ||||
-rw-r--r-- | views/installation/messages/messages/list.php | 15 |
2 files changed, 6 insertions, 33 deletions
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'])) { ?> -<style type="text/css"> -.messages_error { - border:1px solid #D3322A; - background:#F7DAD8; - color:#000000; - padding:3px 10px 3px 10px; - margin:20px 0px 0px 0px; - z-index: 9999; - position:relative; - width:95%; -} -</style> - <div class="database_settings"> - <div class="messages_errors"> + + <div class="messages error"> <?php - foreach($vars['object'] as $error) { - echo elgg_view('messages/errors/error',array('object' => $error)); - //echo "<hr />"; - } + foreach ($vars['object'] as $error) { + echo elgg_view('messages/errors/error', array('object' => $error)); + } ?> - </div> </div> <?php }
\ No newline at end of file diff --git a/views/installation/messages/messages/list.php b/views/installation/messages/messages/list.php index ed169c692..274990d52 100644 --- a/views/installation/messages/messages/list.php +++ b/views/installation/messages/messages/list.php @@ -15,20 +15,7 @@ if (!empty($vars['object']) && is_array($vars['object'])) { ?> -<style type="text/css"> -.messages { - border:1px solid #00cc00; - background:#ccffcc; - color:#000000; - padding:3px 10px 3px 10px; - margin:20px 0px 0px 0px; - z-index: 9999; - position:relative; - width:95%; -} -</style> - - <div class="messages"> + <div class="messages success"> <?php foreach($vars['object'] as $message) { |