From: janw Date: Mon, 7 Nov 2005 15:04:58 +0000 (+0000) Subject: works now as expected X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a83d5dbf2f86a30a3dbeb503374e28071ed80909;p=gosa.git works now as expected git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1854 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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.= "";