From b70ef59cfdc5a8e1dc2308b2b40855f5a244ae97 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 9 Nov 2010 14:50:24 +0000 Subject: [PATCH] tell IE > 7 to use it's own mode, not old compatibility mode eg. IE=7 for IE8 --- phpgwapi/inc/class.egw_framework.inc.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/phpgwapi/inc/class.egw_framework.inc.php b/phpgwapi/inc/class.egw_framework.inc.php index ea56958be0..f1099b44bb 100644 --- a/phpgwapi/inc/class.egw_framework.inc.php +++ b/phpgwapi/inc/class.egw_framework.inc.php @@ -232,6 +232,11 @@ abstract class egw_framework '; } + // tell IE > 7 to use it's own mode, not old compatibility mode eg. IE=7 for IE8 + if (html::$user_agent == 'msie' && html::$ua_version > 7) + { + $pngfix .= "\n\t\t".''; + } if(!$GLOBALS['egw_info']['user']['preferences']['common']['disable_slider_effects']) {