commit f6515d3ead26eeee276ce7d3376c6e0680b1b4fc
parent d301aed31bab7d9550b6a73bf9c41e943ff70774
Author: Jan Dankert <devnull@localhost>
Date: Sat, 19 Nov 2011 03:16:56 +0100
CSS-Auszeichnungen für die Notice-Bar.
Diffstat:
2 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/themes/default/css/layout.css b/themes/default/css/layout.css
@@ -114,7 +114,7 @@ div#noticebar
width:250px;
border 2px solid gray;
background-color:white;
- padding:10px;
+ padding:5px;
z-index:3;
-moz-border-radius:5px; /* Mozilla */
@@ -122,6 +122,22 @@ div#noticebar
-khtml-border-radius:5px; /* Konqui */
}
+div#noticebar div.notice
+{
+ border-bottom:1px solid silver;
+}
+div#noticebar div.notice.ok
+{
+ border-left:4px solid green;
+}
+div#noticebar div.notice.warn
+{
+ border-left:4px solid yellow;
+}
+div#noticebar div.notice.error
+{
+ border-left:4px solid red;
+}
/* H o e h e n */
html,body
diff --git a/util/Text.class.php b/util/Text.class.php
@@ -141,7 +141,7 @@ class Text
*/
function encodeHtml( $inhalt )
{
- $inhalt = str_replace('&','&',$inhalt);
+ //$inhalt = str_replace('&','&',$inhalt);
$inhalt = str_replace('"','"',$inhalt);
$inhalt = str_replace('<','<' ,$inhalt);
$inhalt = str_replace('>','>' ,$inhalt);