changed the position of the "flush table" feature
This commit is contained in:
@@ -155,9 +155,7 @@ if ($num_rows > 0) {
|
||||
<b><?php echo $strInsert; ?></b></a> ]
|
||||
[ <a href="sql.php3?<?php echo $url_query; ?>&sql_query=<?php echo urlencode('DELETE FROM ' . backquote($table)); ?>&zero_rows=<?php echo urlencode(sprintf($strTableHasBeenEmptied, htmlspecialchars($table))); ?>"
|
||||
onclick="return confirmLink(this, 'DELETE FROM <?php echo js_format($table); ?>')">
|
||||
<b><?php echo $strEmpty; ?></b></a> ]
|
||||
[ <a href="sql.php3?<?php echo $url_query; ?>&sql_query=<?php echo urlencode('FLUSH TABLE ' . backquote($table)); ?>&zero_rows=<?php echo urlencode(sprintf($strTableHasBeenFlushed, htmlspecialchars($table))); ?>&reload=1" title=""FLUSH"">
|
||||
<b><?php echo $strFlush; ?></b></a> ]
|
||||
<b><?php echo $strEmpty; ?></b></a> ]
|
||||
[ <a href="sql.php3?<?php echo ereg_replace('tbl_properties.php3$', 'db_details.php3', $url_query); ?>&back=tbl_properties.php3&reload=1&sql_query=<?php echo urlencode('DROP TABLE ' . backquote($table)); ?>&zero_rows=<?php echo urlencode(sprintf($strTableHasBeenDropped, htmlspecialchars($table))); ?>"
|
||||
onclick="return confirmLink(this, 'DROP TABLE <?php echo js_format($table); ?>')">
|
||||
<b><?php echo $strDrop; ?></b></a> ]
|
||||
@@ -172,9 +170,7 @@ if ($num_rows > 0) {
|
||||
[ <b><?php echo $strSelect; ?></b> ]
|
||||
[ <a href="tbl_change.php3?<?php echo $url_query; ?>">
|
||||
<b><?php echo $strInsert; ?></b></a> ]
|
||||
[ <b><?php echo $strEmpty; ?></b> ]
|
||||
[ <a href="sql.php3?<?php echo $url_query; ?>&sql_query=<?php echo urlencode('FLUSH TABLE ' . backquote($table)); ?>&zero_rows=<?php echo urlencode(sprintf($strTableHasBeenFlushed, htmlspecialchars($table))); ?>&reload=1" title=""FLUSH"">
|
||||
<b><?php echo $strFlush; ?></b></a> ]
|
||||
[ <b><?php echo $strEmpty; ?></b> ]
|
||||
[ <a href="sql.php3?<?php echo ereg_replace('tbl_properties.php3$', 'db_details.php3', $url_query); ?>&back=tbl_properties.php3&reload=1&sql_query=<?php echo urlencode('DROP TABLE ' . backquote($table)); ?>&zero_rows=<?php echo urlencode(sprintf($strTableHasBeenDropped, htmlspecialchars($table))); ?>"
|
||||
onclick="return confirmLink(this, 'DROP TABLE <?php echo js_format($table); ?>')">
|
||||
<b><?php echo $strDrop; ?></b></a> ]
|
||||
@@ -410,9 +406,7 @@ if ($fields_cnt > 20) {
|
||||
<b><?php echo $strInsert; ?></b></a> ]
|
||||
[ <a href="sql.php3?<?php echo $url_query; ?>&sql_query=<?php echo urlencode('DELETE FROM ' . backquote($table)); ?>&zero_rows=<?php echo urlencode(sprintf($strTableHasBeenEmptied, htmlspecialchars($table))); ?>"
|
||||
onclick="return confirmLink(this, 'DELETE FROM <?php echo js_format($table); ?>')">
|
||||
<b><?php echo $strEmpty; ?></b></a> ]
|
||||
[ <a href="sql.php3?<?php echo $url_query; ?>&sql_query=<?php echo urlencode('FLUSH TABLE ' . backquote($table)); ?>&zero_rows=<?php echo urlencode(sprintf($strTableHasBeenFlushed, htmlspecialchars($table))); ?>&reload=1" title=""FLUSH"">
|
||||
<b><?php echo $strFlush; ?></b></a> ]
|
||||
<b><?php echo $strEmpty; ?></b></a> ]
|
||||
[ <a href="sql.php3?<?php echo ereg_replace('tbl_properties.php3$', 'db_details.php3', $url_query); ?>&back=tbl_properties.php3&reload=1&sql_query=<?php echo urlencode('DROP TABLE ' . backquote($table)); ?>&zero_rows=<?php echo urlencode(sprintf($strTableHasBeenDropped, htmlspecialchars($table))); ?>"
|
||||
onclick="return confirmLink(this, 'DROP TABLE <?php echo js_format($table); ?>')">
|
||||
<b><?php echo $strDrop; ?></b></a> ]
|
||||
@@ -427,9 +421,7 @@ if ($fields_cnt > 20) {
|
||||
[ <b><?php echo $strSelect; ?></b> ]
|
||||
[ <a href="tbl_change.php3?<?php echo $url_query; ?>">
|
||||
<b><?php echo $strInsert; ?></b></a> ]
|
||||
[ <b><?php echo $strEmpty; ?></b> ]
|
||||
[ <a href="sql.php3?<?php echo $url_query; ?>&sql_query=<?php echo urlencode('FLUSH TABLE ' . backquote($table)); ?>&zero_rows=<?php echo urlencode(sprintf($strTableHasBeenFlushed, htmlspecialchars($table))); ?>&reload=1" title=""FLUSH"">
|
||||
<b><?php echo $strFlush; ?></b></a> ]
|
||||
[ <b><?php echo $strEmpty; ?></b> ]
|
||||
[ <a href="sql.php3?<?php echo ereg_replace('tbl_properties.php3$', 'db_details.php3', $url_query); ?>&back=tbl_properties.php3&reload=1&sql_query=<?php echo urlencode('DROP TABLE ' . backquote($table)); ?>&zero_rows=<?php echo urlencode(sprintf($strTableHasBeenDropped, htmlspecialchars($table))); ?>"
|
||||
onclick="return confirmLink(this, 'DROP TABLE <?php echo js_format($table); ?>')">
|
||||
<b><?php echo $strDrop; ?></b></a> ]
|
||||
@@ -1239,6 +1231,13 @@ else { // MySQL < 3.23.22
|
||||
} // end MySQL < 3.23.22
|
||||
?>
|
||||
|
||||
<!-- Flushes the table -->
|
||||
<li>
|
||||
<a href="sql.php3?<?php echo $url_query; ?>&sql_query=<?php echo urlencode('FLUSH TABLE ' . backquote($table)); ?>&zero_rows=<?php echo urlencode(sprintf($strTableHasBeenFlushed, htmlspecialchars($table))); ?>">
|
||||
<?php echo $strFlushTable; ?></a>
|
||||
<br /><br />
|
||||
</li>
|
||||
|
||||
<!-- Deletes the table -->
|
||||
<li>
|
||||
<a href="sql.php3?<?php echo ereg_replace('tbl_properties.php3$', 'db_details.php3', $url_query); ?>&back=tbl_properties.php3&reload=1&sql_query=<?php echo urlencode('DROP TABLE ' . backquote($table)); ?>&zero_rows=<?php echo urlencode(sprintf($strTableHasBeenDropped, htmlspecialchars($table))); ?>"
|
||||
|
Reference in New Issue
Block a user