bug #1918531 [compatibility] Navigation is not w3.org valid

This commit is contained in:
Marc Delisle
2008-03-22 21:41:20 +00:00
parent c0efdb2e9d
commit c9d023e3de
2 changed files with 28 additions and 1 deletions

View File

@@ -63,6 +63,8 @@ danbarry
thanks to Falk Nisius - klaf thanks to Falk Nisius - klaf
- bug #1812763 [Copy] Table copy when server is in ANSI_QUOTES sql_mode - bug #1812763 [Copy] Table copy when server is in ANSI_QUOTES sql_mode
thanks to Tony Marston - tonymarston thanks to Tony Marston - tonymarston
- bug #1918531 [compatibility] Navigation isn't w3.org valid
thanks to Michael Keck - mkkeck
2.11.5.0 (2008-03-01) 2.11.5.0 (2008-03-01)
- bug #1862661 [GUI] Warn about rename deleting database - bug #1862661 [GUI] Warn about rename deleting database

View File

@@ -139,6 +139,31 @@ $pos = $_SESSION['userconf']['navi_limit_offset'];
// <![CDATA[ // <![CDATA[
var image_minus = '<?php echo $GLOBALS['pmaThemeImage']; ?>b_minus.png'; var image_minus = '<?php echo $GLOBALS['pmaThemeImage']; ?>b_minus.png';
var image_plus = '<?php echo $GLOBALS['pmaThemeImage']; ?>b_plus.png'; var image_plus = '<?php echo $GLOBALS['pmaThemeImage']; ?>b_plus.png';
// INIT PMA_setFrameSize
var onloadCnt = 0;
var onLoadHandler = window.onload;
var resizeHandler = window.onresize;
window.document.onresize = resizeHandler;
window.onload = function() {
if (onloadCnt == 0) {
if (typeof(onLoadHandler) == "function") {
onLoadHandler();
}
if (typeof(PMA_setFrameSize) != 'undefined' && typeof(PMA_setFrameSize) == 'function') {
PMA_setFrameSize();
}
onloadCnt++;
}
};
window.onresize = function() {
if (typeof(resizeHandler) == "function") {
resizeHandler();
}
if (typeof(PMA_saveFrameSize) != 'undefined' && typeof(PMA_saveFrameSize) == 'function') {
PMA_saveFrameSize();
}
};
// ]]> // ]]>
</script> </script>
<?php <?php
@@ -157,7 +182,7 @@ $pos = $_SESSION['userconf']['navi_limit_offset'];
<![endif]--> <![endif]-->
</head> </head>
<body id="body_leftFrame" onload="PMA_setFrameSize();" onresize="PMA_saveFrameSize();"> <body id="body_leftFrame">
<?php <?php
require './libraries/navigation_header.inc.php'; require './libraries/navigation_header.inc.php';
if (! $GLOBALS['server']) { if (! $GLOBALS['server']) {