* db_details_links.php3, header.inc.php3,

tbl_properties_links.php3, libraries/common.lib.php3
        - Neater tab code by Michal Cihar (Patch #571837)
This commit is contained in:
Robin Johnson
2002-06-21 21:13:30 +00:00
parent ca1b14b12a
commit 0448a2913e
5 changed files with 25 additions and 10 deletions

View File

@@ -10,6 +10,9 @@ $Source$
- 'splitted' changed to 'seperated' - 'splitted' changed to 'seperated'
* lang/portuguese.inc.php3 updates, thanks to Lopo Pizarro * lang/portuguese.inc.php3 updates, thanks to Lopo Pizarro
* lang/polish.inc.php3 updates, thanks to Jakub Wilk * lang/polish.inc.php3 updates, thanks to Jakub Wilk
* db_details_links.php3, header.inc.php3,
tbl_properties_links.php3, libraries/common.lib.php3
- Neater tab code by Michal Cihar (Patch #571837)
2002-06-21 Marc Delisle <lem9@users.sourceforge.net> 2002-06-21 Marc Delisle <lem9@users.sourceforge.net>
* sql.php3: patch 565627 for the old bug 461192: wrong query count * sql.php3: patch 565627 for the old bug 461192: wrong query count

View File

@@ -44,7 +44,7 @@ else {
* Displays tab links * Displays tab links
*/ */
?> ?>
<table border="0" cellspacing="0" cellpadding="0" width="100%"> <table border="0" cellspacing="0" cellpadding="0" width="100%" class="tabs">
<tr> <tr>
<td width="8">&nbsp;</td> <td width="8">&nbsp;</td>
<?php <?php
@@ -70,7 +70,4 @@ if ($lnk5) {
echo "\n"; echo "\n";
?> ?>
</tr> </tr>
<tr>
<td colspan="<?php echo ($db_details_links_count_tabs*2+1); ?>" bgcolor="gray" class="topline"><img width="1" height="1" alt="" src="images/spacer.gif" /></td>
</tr>
</table> </table>

View File

@@ -93,6 +93,20 @@ a.drop:hover {font-family: <?php echo $right_font_family; ?>; color: #ffffff;
.nav {font-family: <?php echo $right_font_family; ?>; color: #000000} .nav {font-family: <?php echo $right_font_family; ?>; color: #000000}
.warning {font-family: <?php echo $right_font_family; ?>; font-size: <?php echo $font_size; ?>; font-weight: bold; color: #FF0000} .warning {font-family: <?php echo $right_font_family; ?>; font-size: <?php echo $font_size; ?>; font-weight: bold; color: #FF0000}
td.topline {font-size: 1px} td.topline {font-size: 1px}
td.tab {
border-top: 1px solid black;
border-right: 1px solid black;
border-left: 1px solid black;
border-bottom: none;
border-radius: 2px;
-moz-border-radius: 2px;
}
table.tabs {
border-top: none;
border-right: none;
border-left: none;
border-bottom: 2px solid gray;
}
//--> //-->
</style> </style>

View File

@@ -1347,7 +1347,7 @@ if (typeof(document.getElementById) != 'undefined'
$bgcolor = (basename($PHP_SELF) == $link) ? "silver" : "#DFDFDF"; $bgcolor = (basename($PHP_SELF) == $link) ? "silver" : "#DFDFDF";
$db_details_links_count_tabs++; $db_details_links_count_tabs++;
$out = "\n\t\t<td bgcolor=\"$bgcolor\" align=\"center\" width=\"64\" nowrap=\"nowrap\">"; $out = "\n\t\t<td bgcolor=\"$bgcolor\" align=\"center\" width=\"64\" nowrap=\"nowrap\" class=\"tab\">";
if (strlen($link)>0) if (strlen($link)>0)
$out .= "<a href=\"$link?$args\" $attr><b>$text</b></a>"; $out .= "<a href=\"$link?$args\" $attr><b>$text</b></a>";
else else

View File

@@ -25,8 +25,12 @@ if ($num_rows > 0) {
$att6 = 'onclick="return confirmLink(this, \'' . $ln6_stt . PMA_jsFormat($table) . '\')"'; $att6 = 'onclick="return confirmLink(this, \'' . $ln6_stt . PMA_jsFormat($table) . '\')"';
} else { } else {
$lnk2 = ''; $lnk2 = '';
$arg2 = '';
$lnk4 = ''; $lnk4 = '';
$arg4 = '';
$lnk6 = ''; $lnk6 = '';
$arg6 = '';
$att6 = '';
} }
$lnk7 = "sql.php3"; $lnk7 = "sql.php3";
@@ -37,7 +41,7 @@ $att7 = 'class="drop" onclick="return confirmLink(this, \'DROP TABLE ' . PMA_jsF
* Displays links * Displays links
*/ */
?> ?>
<table border="0" cellspacing="0" cellpadding="0" width="100%"> <table border="0" cellspacing="0" cellpadding="0" width="100%" class="tabs">
<tr> <tr>
<td width="8">&nbsp;</td> <td width="8">&nbsp;</td>
<?php <?php
@@ -55,7 +59,4 @@ echo printTab($strDrop,"sql.php3",$arg7,$att7);
?> ?>
</tr> </tr>
<tr> </table>
<td colspan="<?php echo ($db_details_links_count_tabs*2+1); ?>" bgcolor="gray" class="topline"><img width="1" height="1" alt="" src="images/spacer.gif" /></td>
</tr>
</table>