summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8d4c9fa)
raw | patch | inline | side by side (parent: 8d4c9fa)
author | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 7 Nov 2005 15:04:58 +0000 (15:04 +0000) | ||
committer | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 7 Nov 2005 15:04:58 +0000 (15:04 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1854 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_divlist.inc | patch | blob | history |
index 3ad7a51fff508866bad09a932e38182b8191ee44..aeb24a4a285fe0f812b7aa74c982edfa4df64495 100644 (file)
// 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.= "<thead>".$this->_generateHeader()."</thead>";
// Define an alternate style for IE (not used ATM)
// $s_return.= "<!--[if IE]><style type='text/css'>tbody.scrollcontent {overflow-y:scroll;max-height:480px;}</style><![endif]-->";