From a83d5dbf2f86a30a3dbeb503374e28071ed80909 Mon Sep 17 00:00:00 2001 From: janw Date: Mon, 7 Nov 2005 15:04:58 +0000 Subject: [PATCH] works now as expected git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1854 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/class_divlist.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/class_divlist.inc b/include/class_divlist.inc index 3ad7a51ff..aeb24a4a2 100644 --- a/include/class_divlist.inc +++ b/include/class_divlist.inc @@ -55,7 +55,10 @@ class divlist { // MSIE and non-MSIE browsers. ATM we need to manually set entriesPerPage to // a non-zero value, because MSIE won't scroll the tbody properly. $s_browser = isset($_SERVER['HTTP_USER_AGENT'])?$_SERVER['HTTP_USER_AGENT']:""; - if(strpos($s_browser,'Mozilla') != 0 && ((strpos($_SERVER['HTTP_USER_AGENT'],'MSIE') == 0) && (strpos($_SERVER['HTTP_USER_AGENT'],'KHTML') == 0))){ + if(is_numeric(strpos($s_browser,'Mozilla')) && + !is_numeric(strpos($s_browser,'MSIE')) && + !is_numeric(strpos($s_browser,'KHTML')) + ){ $s_return.= "".$this->_generateHeader().""; // Define an alternate style for IE (not used ATM) // $s_return.= ""; -- 2.30.2