X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Finclude%2Fclass_listing.inc;h=ab6d5944354bdf8f56ebf12bbe5a68886a6d80a5;hb=37a863af6c001e5760070adb1d74dc77e4df61f9;hp=42c92716bcdca21f3320e5b16a991d24ba585d81;hpb=ae725dfb9dbf8a8765de0c3854329b2e9edf3512;p=gosa.git diff --git a/gosa-core/include/class_listing.inc b/gosa-core/include/class_listing.inc index 42c92716b..ab6d59443 100644 --- a/gosa-core/include/class_listing.inc +++ b/gosa-core/include/class_listing.inc @@ -52,6 +52,7 @@ class listing { var $exportColumns= array(); var $useSpan= false; var $height= 0; + var $scrollPosition= 0; function listing($filename) @@ -264,23 +265,39 @@ class listing { return($message); } + // Some browsers don't have the ability do do scrollable table bodies, filter them + // here. + $switch= false; + if (preg_match('/(Opera|Konqueror|Safari|msie)/i', $_SERVER['HTTP_USER_AGENT'])){ + $switch= true; + } + // Initialize list $result= "\n"; + $result.= "\n"; $height= 450; if ($this->height != 0) { $result.= "\n"; $height= $this->height; } - $result.= "
\n";
+ $result.= "
|