From 1d30007440ac734e81318b3741a1444061c5b738 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 26 Jun 2007 10:14:56 +0000 Subject: [PATCH] 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 --- include/functions.inc | 60 +++++++++++++++++++++++++++++++++---------- 1 file changed, 46 insertions(+), 14 deletions(-) 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

"; } -- 2.30.2