diff --git a/left.php3 b/left.php3
index 60f5b46c4..805d070f1 100755
--- a/left.php3
+++ b/left.php3
@@ -30,6 +30,9 @@ header('Content-Type: text/html; charset=' . $charset);
/**
* Displays the frame
*/
+$font_family = ($charset == 'iso-8859-1')
+ ? 'verdana, helvetica, arial, geneva, sans-serif'
+ : 'sans-serif';
?>
@@ -44,10 +47,29 @@ header('Content-Type: text/html; charset=' . $charset);
var isIE4 = ((typeof(document.all) != 'undefined') && (parseInt(navigator.appVersion) >= 4)) ? 1 : 0;
var isNS4 = (typeof(document.layers) != 'undefined') ? 1 : 0;
var capable = (isDOM || isIE4 || isNS4) ? 1 : 0;
- var fontFamily = '';
+ // Uggly fix for Konqueror and Opera that are not fully DOM compliant
+ if (capable && typeof(navigator.userAgent) != 'undefined') {
+ var browserName = ' ' + navigator.userAgent.toLowerCase();
+ if (browserName.indexOf('opera') > 0 || browserName.indexOf('konqueror') > 0) {
+ capable = 0;
+ }
+ }
+ var fontFamily = '';
//-->
+