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

@@ -10,7 +10,8 @@ $Source$
Taiyen Hung <20>x<EFBFBD><78><EFBFBD><EFBFBD><yen789@pchome.com.tw>.
* db_details.php3, lines 292-296: queries retained and displayed into the
textearea when stripslashed one time more than required.
* tbl_properties.php3: fixed some coding inconcistencies (tabs, ...).
* tbl_properties.php3: fixed some coding inconcistencies (tabs, ...) and
added a link to empty the current table.
* ob_lib.inc.php3, line 34: ini_get is a php4 only function and may be
disabled -> put an @ before it is called to avoid errors.

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>