From df710618ca2059c0108ea364f35b4036a3c54d4d Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 26 Jun 2007 10:18:12 +0000 Subject: [PATCH] Transparent backgrounds for error msgs in ie git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6697 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/functions.inc | 59 +++++++++++++++++++++++++++++++++---------- 1 file changed, 45 insertions(+), 14 deletions(-) diff --git a/include/functions.inc b/include/functions.inc index 460294e9d..3a1661ea4 100644 --- a/include/functions.inc +++ b/include/functions.inc @@ -1132,21 +1132,52 @@ function print_red() } if(isset($_SESSION['errors']) && strlen($_SESSION['errors'])==0) { + + + if(preg_match("/MSIE/", $_SERVER['HTTP_USER_AGENT'])){ + + $_SESSION['errors'].= " + +
+
"; + }else{ + + $_SESSION['errors'].= " +
"; + } + $_SESSION['errors'].= " -
-
". -- 2.30.2