aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-10-03 15:23:27 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-10-03 15:23:27 +0000
commit8dd1515697fcef1968d062c18222eb21d520f5e2 (patch)
treea4a6e4ba55072e2920e3528f4bb97eec714acb79 /views
parent42c01f8ad5a8bffe72fd3b8609baa0f95edfa8df (diff)
downloadelgg-8dd1515697fcef1968d062c18222eb21d520f5e2.tar.gz
elgg-8dd1515697fcef1968d062c18222eb21d520f5e2.tar.bz2
updated messages system
git-svn-id: https://code.elgg.org/elgg/trunk@2176 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views')
-rw-r--r--views/default/css.php4
-rw-r--r--views/default/messages/errors/list.php10
-rw-r--r--views/failsafe/messages/errors/list.php15
-rw-r--r--views/failsafe/messages/messages/list.php13
4 files changed, 33 insertions, 9 deletions
diff --git a/views/default/css.php b/views/default/css.php
index 712168834..ceb22ded3 100644
--- a/views/default/css.php
+++ b/views/default/css.php
@@ -646,7 +646,7 @@ h6 { font-size: 0.8em; }
/* width:936px; */
margin:0;
position:fixed;
- top:-60px;
+ top:0px;
width:969px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
@@ -663,7 +663,7 @@ h6 { font-size: 0.8em; }
/* width:936px; */
margin:0;
position:fixed;
- top:-60px;
+ top:0px;
width:969px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
diff --git a/views/default/messages/errors/list.php b/views/default/messages/errors/list.php
index b9784fb2b..fc7b7d9d9 100644
--- a/views/default/messages/errors/list.php
+++ b/views/default/messages/errors/list.php
@@ -20,13 +20,13 @@
<!-- used to fade out the system messages after 3 seconds -->
<script>
$(document).ready(function () {
- $('.messages').animate({top:"3px", opacity: 1.0}, 1000);
- $('.messages').animate({opacity: 1.0}, 6000);
- $('.messages').fadeOut('slow');
+ $('.messages_error').animate({top:"3px", opacity: 1.0}, 1000);
+ $('.messages_error').animate({opacity: 1.0}, 6000);
+ $('.messages_error').fadeOut('slow');
$('span.closeMessages a').click(function () {
- $(".messages").stop();
- $('.messages').fadeOut('slow');
+ $(".messages_error").stop();
+ $('.messages_error').fadeOut('slow');
return false;
});
diff --git a/views/failsafe/messages/errors/list.php b/views/failsafe/messages/errors/list.php
index 1c66288a5..345660f54 100644
--- a/views/failsafe/messages/errors/list.php
+++ b/views/failsafe/messages/errors/list.php
@@ -17,9 +17,20 @@
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 20px 0px 20px;
+ z-index: 9999;
+ position:absolute;
+ width:936px;
+}
+</style>
<div class="database_settings">
- <div class="messages-errors">
+ <div class="messages_errors">
<?php
foreach($vars['object'] as $error) {
diff --git a/views/failsafe/messages/messages/list.php b/views/failsafe/messages/messages/list.php
index 5387fc384..767d426f8 100644
--- a/views/failsafe/messages/messages/list.php
+++ b/views/failsafe/messages/messages/list.php
@@ -18,6 +18,19 @@
?>
+<style type="text/css">
+.messages {
+ border:1px solid #00cc00;
+ background:#ccffcc;
+ color:#000000;
+ padding:3px 10px 3px 10px;
+ margin:20px 20px 0px 20px;
+ z-index: 9999;
+ position:absolute;
+ width:936px;
+}
+</style>
+
<div class="messages">
<?php