From: hickert Date: Tue, 26 Jun 2007 10:14:56 +0000 (+0000) Subject: Transparent background of error msgs wotks in IE now X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1d30007440ac734e81318b3741a1444061c5b738;p=gosa.git Transparent background of error msgs wotks in IE now git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6696 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/functions.inc b/include/functions.inc index 91bb1e17c..d38112816 100644 --- a/include/functions.inc +++ b/include/functions.inc @@ -1064,19 +1064,51 @@ function print_red() } if(isset($_SESSION['errors']) && strlen($_SESSION['errors'])==0) { - $_SESSION['errors'].= " -
-
+ + if(preg_match("/MSIE/", $_SERVER['HTTP_USER_AGENT'])){ + + $_SESSION['errors'].= " + +
+
"; + }else{ + + $_SESSION['errors'].= " +
"; + } + + $_SESSION['errors'].= "
". @@ -1085,7 +1117,7 @@ function print_red() "

"._("An error occurred while processing your request"). "

$string

$addmsg

"; }