Added a link to empty the current table in tbl_properties.php3

This commit is contained in:
Loïc Chapeaux
2001-08-04 12:32:29 +00:00
parent f25c154958
commit 3d32b7a4a8
2 changed files with 6 additions and 3 deletions

View File

@@ -517,7 +517,7 @@ if ($cfgBookmark['db'] && $cfgBookmark['table']) {
</form>
</li>
<!-- Display, select and insert -->
<!-- Display, select, insert and empty -->
<li>
<div style="margin-bottom: 10px">
<a href="sql.php3?<?php echo $url_query; ?>&sql_query=<?php echo urlencode('SELECT * FROM ' . backquote($table)); ?>&pos=0">
@@ -525,7 +525,9 @@ if ($cfgBookmark['db'] && $cfgBookmark['table']) {
<a href="tbl_select.php3?<?php echo $url_query; ?>">
<b><?php echo $strSelect; ?></b></a>&nbsp;-&nbsp;
<a href="tbl_change.php3?<?php echo $url_query; ?>">
<b><?php echo $strInsert; ?></b></a>
<b><?php echo $strInsert; ?></b></a>&nbsp;-&nbsp;
<a href="sql.php3?<?php echo $url_query; ?>&sql_query=<?php echo urlencode('DELETE FROM ' . backquote($table)); ?>&zero_rows=<?php echo urlencode($strTable . ' ' . htmlspecialchars($table) . ' ' . $strHasBeenEmptied); ?>">
<b><?php echo $strEmpty; ?></b></a>
<br />
</div>
</li>