Inconsistency of drop/empty links (bug #989705).

This commit is contained in:
Michal Čihař
2004-08-12 13:53:24 +00:00
parent 1de0157813
commit 17c7340ba2
2 changed files with 9 additions and 5 deletions

View File

@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
$Id$
$Source$
2004-08-12 Michal Čihař <michal@cihar.com>
* db_details_structure.php: Inconsistency of drop/empty links (bug
#989705).
2004-08-11 Michal Čihař <michal@cihar.com>
* tbl_replace.php: Do not empty protected values (bug #1006812).
* libraries/display_tbl.lib.php: Wrong parameters for PMA_DBI_free_result

View File

@@ -354,11 +354,6 @@ else {
<a href="tbl_properties_structure.php?<?php echo $tbl_url_query; ?>">
<?php echo $titles['Properties']; ?></a>
</td>
<td align="center" bgcolor="<?php echo $bgcolor; ?>">
<a href="sql.php?<?php echo $tbl_url_query; ?>&amp;reload=1&amp;purge=1&amp;sql_query=<?php echo urlencode('DROP TABLE ' . PMA_backquote($table)); ?>&amp;zero_rows=<?php echo urlencode(sprintf($strTableHasBeenDropped, htmlspecialchars($table))); ?>"
onclick="return confirmLink(this, 'DROP TABLE <?php echo PMA_jsFormat($table); ?>')">
<?php echo $titles['Drop']; ?></a>
</td>
<td align="center" bgcolor="<?php echo $bgcolor; ?>">
<?php
if (!empty($sts_data['Rows'])) {
@@ -380,6 +375,11 @@ else {
echo $titles['NoEmpty'];
}
?>
</td>
<td align="center" bgcolor="<?php echo $bgcolor; ?>">
<a href="sql.php?<?php echo $tbl_url_query; ?>&amp;reload=1&amp;purge=1&amp;sql_query=<?php echo urlencode('DROP TABLE ' . PMA_backquote($table)); ?>&amp;zero_rows=<?php echo urlencode(sprintf($strTableHasBeenDropped, htmlspecialchars($table))); ?>"
onclick="return confirmLink(this, 'DROP TABLE <?php echo PMA_jsFormat($table); ?>')">
<?php echo $titles['Drop']; ?></a>
</td>
<?php
echo "\n";