From: hickert Date: Tue, 26 Jun 2007 10:18:12 +0000 (+0000) Subject: Transparent backgrounds for error msgs in ie X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=df710618ca2059c0108ea364f35b4036a3c54d4d;p=gosa.git 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 --- 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'].= " -
-
".