aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/installation/messages/errors/list.php24
-rw-r--r--views/installation/messages/messages/list.php15
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) {