cleaned a bit

This commit is contained in:
Loïc Chapeaux
2001-09-06 18:35:56 +00:00
parent b9cb1e571d
commit 7fd3ca5cfc
2 changed files with 16 additions and 16 deletions

12
left.js
View File

@@ -220,8 +220,8 @@ if (capable) {
var lstyle = '<style type="text\/css">' var lstyle = '<style type="text\/css">'
+ '<!--' + '<!--'
+ 'div {color: #000000;}' + 'div {color: #000000;}'
+ '.heada {font-family: ' + fontFamily + '; font-size: ' + fontSize + '}' + '.heada {font-family: ' + fontFamily + '; font-size: ' + fontSize + '; color: #000000}'
+ '.heada_cnt {font-family: ' + fontFamily + '; font-size: ' + fontSmall + '}' + '.heada_cnt {font-family: ' + fontFamily + '; font-size: ' + fontSmall + '; color: #000000}'
+ '.parent {font-family: ' + fontFamily + '; color: #000000; text-decoration:none; display: block}' + '.parent {font-family: ' + fontFamily + '; color: #000000; text-decoration:none; display: block}'
+ '.child {font-family: ' + fontFamily + '; font-size: ' + fontSmall + '; color: #333399; text-decoration:none; display: none}' + '.child {font-family: ' + fontFamily + '; font-size: ' + fontSmall + '; color: #333399; text-decoration:none; display: none}'
+ '.item, .item:active, .item:hover, .tblItem, .tblItem:active {color: #333399; text-decoration: none; font-size: ' + fontSmall + '}' + '.item, .item:active, .item:hover, .tblItem, .tblItem:active {color: #333399; text-decoration: none; font-size: ' + fontSmall + '}'
@@ -234,8 +234,8 @@ if (capable) {
writeln('<style type="text\/css">'); writeln('<style type="text\/css">');
writeln('<!--'); writeln('<!--');
writeln('div {color: #000000; }'); writeln('div {color: #000000; }');
writeln('.heada {font-family: ' + fontFamily + '; font-size: ' + fontSize + '}'); writeln('.heada {font-family: ' + fontFamily + '; font-size: ' + fontSize + '; color: #000000}');
writeln('.heada_cnt {font-family: ' + fontFamily + '; font-size: ' + fontSmall + '}'); writeln('.heada_cnt {font-family: ' + fontFamily + '; font-size: ' + fontSmall + '; color: #000000}');
if (isIE4) { if (isIE4) {
writeln('.parent {font-family: ' + fontFamily + '; color: #000000; text-decoration: none; display: block}'); writeln('.parent {font-family: ' + fontFamily + '; color: #000000; text-decoration: none; display: block}');
writeln('.child {font-family: ' + fontFamily + '; font-size: ' + fontSmall + '; color: #333399; text-decoration: none; display: none}'); writeln('.child {font-family: ' + fontFamily + '; font-size: ' + fontSmall + '; color: #333399; text-decoration: none; display: none}');
@@ -257,8 +257,8 @@ else {
writeln('<style type="text\/css">'); writeln('<style type="text\/css">');
writeln('<!--'); writeln('<!--');
writeln('div {color: #000000; }'); writeln('div {color: #000000; }');
writeln('.heada {font-family: ' + fontFamily + '; font-size: ' + fontSize + '}'); writeln('.heada {font-family: ' + fontFamily + '; font-size: ' + fontSize + '; color: #000000}');
writeln('.heada_cnt {font-family: ' + fontFamily + '; font-size: ' + fontSmall + '}'); writeln('.heada_cnt {font-family: ' + fontFamily + '; font-size: ' + fontSmall + '; color: #000000}');
writeln('.parent {font-family: ' + fontFamily + '; color: #000000; text-decoration: none}'); writeln('.parent {font-family: ' + fontFamily + '; color: #000000; text-decoration: none}');
writeln('.child {font-family: ' + fontFamily + '; font-size: ' + fontSmall + '; color: #333399; text-decoration: none}'); writeln('.child {font-family: ' + fontFamily + '; font-size: ' + fontSmall + '; color: #333399; text-decoration: none}');
writeln('.item, .item:active, .item:hover, .tblItem, .tblItem:active {color: #333399; text-decoration: none}'); writeln('.item, .item:active, .item:hover, .tblItem, .tblItem:active {color: #333399; text-decoration: none}');

View File

@@ -112,7 +112,7 @@ if ($num_dbs > 1) {
<style type="text/css"> <style type="text/css">
<!-- <!--
div {color: #000000} div {color: #000000}
.heada {font-family: <?php echo $left_font_family; ?>; font-size: <?php echo $font_size; ?>} .heada {font-family: <?php echo $left_font_family; ?>; font-size: <?php echo $font_size; ?>; color: #000000}
.parent {font-family: <?php echo $left_font_family; ?>; color: #000000; text-decoration: none} .parent {font-family: <?php echo $left_font_family; ?>; color: #000000; text-decoration: none}
.child {font-family: <?php echo $left_font_family; ?>; font-size: <?php echo $font_smaller; ?>; color: #333399; text-decoration: none} .child {font-family: <?php echo $left_font_family; ?>; font-size: <?php echo $font_smaller; ?>; color: #333399; text-decoration: none}
.item, .item:active, .item:hover, .tblItem, .tblItem:active {color: #333399; text-decoration: none} .item, .item:active, .item:hover, .tblItem, .tblItem:active {color: #333399; text-decoration: none}
@@ -123,7 +123,7 @@ if ($num_dbs > 1) {
<style type="text/css"> <style type="text/css">
<!-- <!--
body {font-family: <?php echo $left_font_family; ?>; font-size: 10pt} body {font-family: <?php echo $left_font_family; ?>; font-size: <?php echo $font_size; ?>}
//--> //-->
</style> </style>
<?php <?php
@@ -134,10 +134,10 @@ else if ($num_dbs == 1) {
?> ?>
<style type="text/css"> <style type="text/css">
<!-- <!--
body {font-family: <?php echo $left_font_family; ?>; font-size: 10pt} body {font-family: <?php echo $left_font_family; ?>; font-size: <?php echo $font_size; ?>}
div {color: #000000} div {color: #000000}
.heada {font-family: <?php echo $left_font_family; ?>; font-size: <?php echo $font_size; ?>} .heada {font-family: <?php echo $left_font_family; ?>; font-size: <?php echo $font_size; ?>; color: #000000}
.heada_cnt {font-family: <?php echo $left_font_family; ?>; font-size: <?php echo $font_smaller; ?>} .heada_cnt {font-family: <?php echo $left_font_family; ?>; font-size: <?php echo $font_smaller; ?>; color: #000000}
.parent {font-family: <?php echo $left_font_family; ?>; color: #000000; text-decoration: none} .parent {font-family: <?php echo $left_font_family; ?>; color: #000000; text-decoration: none}
.child {font-family: <?php echo $left_font_family; ?>; font-size: <?php echo $font_smaller; ?>; color: #333399; text-decoration: none} .child {font-family: <?php echo $left_font_family; ?>; font-size: <?php echo $font_smaller; ?>; color: #333399; text-decoration: none}
.item, .item:active, .item:hover, .tblItem, .tblItem:active {color: #333399; text-decoration: none} .item, .item:active, .item:hover, .tblItem, .tblItem:active {color: #333399; text-decoration: none}
@@ -154,8 +154,8 @@ else {
<!-- <!--
body {font-family: <?php echo $left_font_family; ?>; font-size: <?php echo $font_size; ?>} body {font-family: <?php echo $left_font_family; ?>; font-size: <?php echo $font_size; ?>}
div {color: #000000} div {color: #000000}
.heada {font-family: <?php echo $left_font_family; ?>; font-size: <?php echo $font_size; ?>} .heada {font-family: <?php echo $left_font_family; ?>; font-size: <?php echo $font_size; ?>; color: #000000}
.heada_cnt {font-family: <?php echo $left_font_family; ?>; font-size: <?php echo $font_smaller; ?>} .heada_cnt {font-family: <?php echo $left_font_family; ?>; font-size: <?php echo $font_smaller; ?>; color: #000000}
//--> //-->
</style> </style>
<?php <?php
@@ -169,7 +169,7 @@ echo "\n";
<!-- Link to the welcome page --> <!-- Link to the welcome page -->
<div id="el1Parent" class="parent" style="margin-bottom: 5px"> <div id="el1Parent" class="parent" style="margin-bottom: 5px">
<nobr><a class="item" href="main.php3?lang=<?php echo $lang; ?>&server=<?php echo $server; ?>"> <nobr><a class="item" href="main.php3?lang=<?php echo $lang; ?>&server=<?php echo $server; ?>">
<font color="black" class="heada"><b><?php echo $strHome; ?></b></font></a></nobr> <span class="heada"><b><?php echo $strHome; ?></b></span></a></nobr>
</div> </div>
@@ -223,7 +223,7 @@ if ($num_dbs > 1) {
echo "\n"; echo "\n";
?> ?>
<a class="item" href="db_details.php3?<?php echo $common_url_query; ?>" onclick="if (capable) {expandBase('el<?php echo $j; ?>', false)}"> <a class="item" href="db_details.php3?<?php echo $common_url_query; ?>" onclick="if (capable) {expandBase('el<?php echo $j; ?>', false)}">
<font color="black" class="heada"><?php echo $db; ?>&nbsp;&nbsp;<span class="heada_cnt">(<?php echo $num_tables_disp; ?>)</span></font></a></nobr> <span class="heada"><?php echo $db; ?>&nbsp;&nbsp;</span><span class="heada_cnt">(<?php echo $num_tables_disp; ?>)</span></a></nobr>
</div> </div>
<div id="el<?php echo $j;?>Child" class="child" style="margin-bottom: 5px"> <div id="el<?php echo $j;?>Child" class="child" style="margin-bottom: 5px">
@@ -284,7 +284,7 @@ else if ($num_dbs == 1) {
?> ?>
<div id="el2Parent" class="parent"> <div id="el2Parent" class="parent">
<nobr><a class="item" href="db_details.php3?<?php echo $common_url_query; ?>"> <nobr><a class="item" href="db_details.php3?<?php echo $common_url_query; ?>">
<font color="black" class="heada"><?php echo $db; ?>&nbsp;&nbsp;<span class="heada_cnt">(<?php echo $num_tables_disp; ?>)</span></font></a></nobr> <span class="heada"><?php echo $db; ?>&nbsp;&nbsp;</span><span class="heada_cnt">(<?php echo $num_tables_disp; ?>)</span></a></nobr>
</div> </div>
<div id="el2Child" class="child" style="margin-bottom: 5px"> <div id="el2Child" class="child" style="margin-bottom: 5px">
<?php <?php