global $CFG;
$output = '';
- if (!check_browser_version('MSIE', 6.0) && !check_browser_version('Firefox', 1.5)) {
- // We still have issues with YUI in other browsers.
+ if (!check_browser_version('MSIE', 6.0)
+ && !check_browser_version('Firefox', 1.5)
+ && !check_browser_version('Camino', 1.0.2)) {
+ // We still have issues with AJAX in other browsers.
return;
}
}
}
-?>
+
+?>
\ No newline at end of file
switch ($brand) {
+ case 'Camino': /// Mozilla Firefox browsers
+
+ if (preg_match("/Camino\/([0-9\.]+)/i", $agent, $match)) {
+ if (version_compare($match[1], $version) >= 0) {
+ return true;
+ }
+ }
+ break;
+
+
case 'Firefox': /// Mozilla Firefox browsers
if (preg_match("/Firefox\/([0-9\.]+)/i", $agent, $match)) {