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$ $Id$
$Source$ $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> 2004-08-11 Michal Čihař <michal@cihar.com>
* tbl_replace.php: Do not empty protected values (bug #1006812). * tbl_replace.php: Do not empty protected values (bug #1006812).
* libraries/display_tbl.lib.php: Wrong parameters for PMA_DBI_free_result * libraries/display_tbl.lib.php: Wrong parameters for PMA_DBI_free_result

View File

@@ -355,11 +355,6 @@ else {
<?php echo $titles['Properties']; ?></a> <?php echo $titles['Properties']; ?></a>
</td> </td>
<td align="center" bgcolor="<?php echo $bgcolor; ?>"> <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 <?php
if (!empty($sts_data['Rows'])) { if (!empty($sts_data['Rows'])) {
echo '<a href="sql.php?' . $tbl_url_query echo '<a href="sql.php?' . $tbl_url_query
@@ -380,6 +375,11 @@ else {
echo $titles['NoEmpty']; 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> </td>
<?php <?php
echo "\n"; echo "\n";