diff --git a/left.php3 b/left.php3
index 0d4fa0c0c..e6cd10f63 100755
--- a/left.php3
+++ b/left.php3
@@ -68,7 +68,7 @@ PMA_setFontSizes();
1) {
+if ($num_dbs > 1 && !$cfgLeftFrameLight) {
echo "\n";
?>
@@ -101,7 +101,6 @@ if ($num_dbs > 1) {
var fontBig = '';
var fontSmall = '';
var isServer = 0) ? 'true' : 'false'; ?>;
- var isLightMode = ;
//-->
@@ -113,7 +112,7 @@ if ($num_dbs > 1) {
.headaCnt {font-family: ; font-size: ; color: #000000}
.parent {font-family: ; color: #000000; text-decoration: none}
.child {font-family: ; font-size: ; color: #333399; text-decoration: none}
- .item, .item:active, .item:hover, .tblItem, .tblItem:active {font-size: ; color: #333399; text-decoration: none}
+ .item, .item:active, .item:hover, .tblItem, .tblItem:active {color: #333399; text-decoration: none}
.tblItem:hover {color: #FF0000; text-decoration: underline}
//-->
@@ -154,7 +153,8 @@ else {
div {color: #000000}
.heada {font-family: ; font-size: ; color: #000000}
.parent {font-family: ; color: #000000; text-decoration: none}
- .item, .item:active, .item:hover {font-size: ; color: #333399; text-decoration: none}
+ .item, .item:active, .item:hover, .tblItem, .tblItem:active {font-family: ; font-size: ; color: #333399; text-decoration: none}
+ .tblItem:hover {color: #FF0000; text-decoration: underline}
//-->
1) {
$table_list .= ' ' . "\n";
$table_list .= '
' . "\n";
$table_list .= ' ' . $table . '
' . "\n";
-
} // end for $j (tables list)
if (!$table_list) {
@@ -306,7 +305,7 @@ if ($num_dbs > 1) {
echo ' ' . "\n";
} // end if... else...
- } // end if light mode
+ } // end if (light mode)
} // end for $i (db list)
diff --git a/libraries/left.js b/libraries/left.js
index 70a993dfa..1b1ab344f 100644
--- a/libraries/left.js
+++ b/libraries/left.js
@@ -113,7 +113,7 @@ function nsShowAll() {
*/
function initIt()
{
- if (!capable || !isServer || isLightMode)
+ if (!capable || !isServer)
return;
var tempColl = null;
@@ -289,13 +289,8 @@ if (capable) {
document.writeln('.tblItem:hover {color: #FF0000; text-decoration: underline}');
}
else { // NS4 case
- if (isLightMode) {
- document.writeln('.parent {font-family: ' + fontFamily + '; color: #000000; text-decoration: none}');
- document.writeln('.child {font-family: ' + fontFamily + '; font-size: ' + fontSmall + '; color: #333399}');
- } else {
- document.writeln('.parent {font-family: ' + fontFamily + '; color: #000000; text-decoration: none; position: absolute; visibility: hidden}');
- document.writeln('.child {font-family: ' + fontFamily + '; font-size: ' + fontSmall + '; color: #333399; position: absolute; visibility: hidden}');
- }
+ document.writeln('.parent {font-family: ' + fontFamily + '; color: #000000; text-decoration: none; position: absolute; visibility: hidden}');
+ document.writeln('.child {font-family: ' + fontFamily + '; font-size: ' + fontSmall + '; color: #333399; position: absolute; visibility: hidden}');
document.writeln('.item, .tblItem {font-family: ' + fontFamily + '; font-size: ' + fontSmall + '; color: #333399; text-decoration: none}');
}
document.writeln('\/\/-->');