summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: dd33285)
raw | patch | inline | side by side (parent: dd33285)
author | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 7 Nov 2005 14:00:49 +0000 (14:00 +0000) | ||
committer | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 7 Nov 2005 14:00:49 +0000 (14:00 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1853 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_divlist.inc | patch | blob | history |
index 1df4ac48176c53ee03ded5583421eac2c393d20e..3ad7a51fff508866bad09a932e38182b8191ee44 100644 (file)
// TODO: Find a more convenient way to use the same functionality in both
// 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.
- if((strpos($_SERVER['HTTP_USER_AGENT'],'MSIE') == 0) && (strpos($_SERVER['HTTP_USER_AGENT'],'KHTML') == 0)){
+ $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))){
$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]-->";