diff options
-rw-r--r-- | install/install.css | 6 | ||||
-rw-r--r-- | views/installation/messages/errors/list.php | 24 | ||||
-rw-r--r-- | views/installation/messages/messages/list.php | 15 |
3 files changed, 12 insertions, 33 deletions
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'])) { ?> -<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) { |