comments adjustments

This commit is contained in:
Marc Delisle
2005-07-16 12:59:01 +00:00
parent 36fa47f89c
commit 1e98f5f7d4

View File

@@ -33,10 +33,11 @@ if (!empty($GLOBALS['cfg']['PmaAbsoluteUri'])) {
?> ?>
<script language="JavaScript" type="text/javascript"> <script language="JavaScript" type="text/javascript">
<!-- <!--
/* added 2004-06-10 by Michael Keck <?php // added 2004-06-10 by Michael Keck ?>
/*
* we need this for Backwards-Compatibility and resolving problems * we need this for Backwards-Compatibility and resolving problems
* with non DOM browsers, which may have problems with css 2 (like NC 4) * with non DOM browsers, which may have problems with css 2 (like NC 4)
*/ */
var isDOM = (typeof(document.getElementsByTagName) != 'undefined' var isDOM = (typeof(document.getElementsByTagName) != 'undefined'
&& typeof(document.createElement) != 'undefined') && typeof(document.createElement) != 'undefined')
? 1 : 0; ? 1 : 0;
@@ -47,7 +48,7 @@ if (!empty($GLOBALS['cfg']['PmaAbsoluteUri'])) {
? 1 : 0; ? 1 : 0;
var capable = (isDOM || isIE4 || isNS4) var capable = (isDOM || isIE4 || isNS4)
? 1 : 0; ? 1 : 0;
// Uggly fix for Opera and Konqueror 2.2 that are half DOM compliant // Ugly fix for Opera and Konqueror 2.2 that are half DOM compliant
if (capable) { if (capable) {
if (typeof(window.opera) != 'undefined') { if (typeof(window.opera) != 'undefined') {
var browserName = ' ' + navigator.userAgent.toLowerCase(); var browserName = ' ' + navigator.userAgent.toLowerCase();