changed the position of the "flush table" feature

This commit is contained in:
Loïc Chapeaux
2001-10-16 20:55:15 +00:00
parent af78db39fd
commit 865cea0876
28 changed files with 38 additions and 39 deletions

View File

@@ -300,7 +300,7 @@ $strYes = 'Sim';
// To translate
$strCopyTable = 'Copy table to (database<b>.</b>table):';
$strDatabaseHasBeenDropped = 'Database %s has been dropped.'; //to translate
$strFlush = 'Flush';
$strFlushTable = 'Flush the table ("FLUSH")';
$strIdxFulltext = 'Fulltext'; //to translate
$strInvalidName = '"%s" is a reserved word, you can\'t use it as a database/table/field name.'; //to translate
$strKeepPass = 'Do not change the password';//to translate

View File

@@ -309,7 +309,7 @@ $strZip = '"
// To translate
$strExtendedInserts = 'Extended inserts';
$strFlush = 'Flush';
$strFlushTable = 'Flush the table ("FLUSH")';
$strFullText = 'Full Texts';//to translate
$strIdxFulltext = 'Fulltext'; //to translate
$strNoRights = 'You don\'t have enough rights to be here right now!'; //to translate

View File

@@ -316,6 +316,6 @@ $strNoQuery = 'No SQL query!'; //to translate
$strCopyTable = 'Copy table to (database<b>.</b>table):';
$strMoveTable = 'Move table to (database<b>.</b>table):';
$strMoveTableOK = 'Table %s has been moved to %s.';
$strFlush = 'Flush';
$strFlushTable = 'Flush the table ("FLUSH")';
$strTableHasBeenFlushed = 'Table %s has been flushed';
?>

View File

@@ -316,6 +316,6 @@ $strNoQuery = 'No SQL query!'; //to translate
$strCopyTable = 'Copy table to (database<b>.</b>table):';
$strMoveTable = 'Move table to (database<b>.</b>table):';
$strMoveTableOK = 'Table %s has been moved to %s.';
$strFlush = 'Flush';
$strFlushTable = 'Flush the table ("FLUSH")';
$strTableHasBeenFlushed = 'Table %s has been flushed';
?>

View File

@@ -320,6 +320,6 @@ $strNoQuery = 'No SQL query!'; //to translate
$strCopyTable = 'Copy table to (database<b>.</b>table):';
$strMoveTable = 'Move table to (database<b>.</b>table):';
$strMoveTableOK = 'Table %s has been moved to %s.';
$strFlush = 'Flush';
$strFlushTable = 'Flush the table ("FLUSH")';
$strTableHasBeenFlushed = 'Table %s has been flushed';
?>

View File

@@ -316,6 +316,6 @@ $strYes = 'Ano';
$strZip = '"zazipov<6F>no"';
// To translate
$strFlush = 'Flush';
$strFlushTable = 'Flush the table ("FLUSH")';
$strTableHasBeenFlushed = 'Table %s has been flushed';
?>

View File

@@ -316,6 +316,6 @@ $strYes = 'Ano';
$strZip = '"zazipov<6F>no"';
// To translate
$strFlush = 'Flush';
$strFlushTable = 'Flush the table ("FLUSH")';
$strTableHasBeenFlushed = 'Table %s has been flushed';
?>

View File

@@ -315,6 +315,6 @@ $strYes = 'Ja';
$strZip = '"zipped"'; //to translate
// To translate
$strFlush = 'Flush';
$strFlushTable = 'Flush the table ("FLUSH")';
$strTableHasBeenFlushed = 'Table %s has been flushed';
?>

View File

@@ -315,6 +315,6 @@ $strNoQuery = 'No SQL query!'; //to translate
$strCopyTable = 'Copy table to (database<b>.</b>table):';
$strMoveTable = 'Move table to (database<b>.</b>table):';
$strMoveTableOK = 'Table %s has been moved to %s.';
$strFlush = 'Flush';
$strFlushTable = 'Flush the table ("FLUSH")';
$strTableHasBeenFlushed = 'Table %s has been flushed';
?>

View File

@@ -114,7 +114,7 @@ $strFieldsEnclosedBy = 'Fields enclosed by';
$strFieldsEscapedBy = 'Fields escaped by';
$strFieldsTerminatedBy = 'Fields terminated by';
$strFixed = 'fixed';
$strFlush = 'Flush';
$strFlushTable = 'Flush the table ("FLUSH")';
$strFormat = 'Format';
$strFormEmpty = 'Missing value in the form !';
$strFullText = 'Full Texts';

View File

@@ -114,7 +114,7 @@ $strFieldsEnclosedBy = 'Champs entour
$strFieldsEscapedBy = 'Caract<63>re sp<73>cial';
$strFieldsTerminatedBy = 'Champs termin<69>s par';
$strFixed = 'fixe';
$strFlush = 'Recharger';
$strFlushTable = 'Recharger la table ("FLUSH")';
$strFormat = 'format';
$strFormEmpty = 'Formulaire incomplet !';
$strFullText = 'Textes complets';

View File

@@ -313,7 +313,7 @@ $strZip = 'comprimido no formato "zipped"';
// To translate
$strCopyTable = 'Copy table to (database<b>.</b>table):';
$strFlush = 'Flush';
$strFlushTable = 'Flush the table ("FLUSH")';
$strMoveTable = 'Move table to (database<b>.</b>table):';
$strMoveTableOK = 'Table %s has been moved to %s.';
$strNoQuery = 'No SQL query!'; //to translate

View File

@@ -312,7 +312,7 @@ $strZip = '"Zip komprimiert"';
// To translate
$strFieldHasBeenDropped = 'Field %s has been dropped';//to translate
$strFlush = 'Flush';
$strFlushTable = 'Flush the table ("FLUSH")';
$strIndexHasBeenDropped = 'Index %s has been dropped';//to translate
$strRunningAs = 'as';
$strShowCols = 'Show columns';

View File

@@ -298,7 +298,7 @@ $strFieldHasBeenDropped = 'Field %s has been dropped';//to translate
$strFieldsEnclosedBy = 'Fields enclosed by';//to translate
$strFieldsEscapedBy = 'Fields escaped by';//to translate
$strFieldsTerminatedBy = 'Fields terminated by';//to translate
$strFlush = 'Flush';
$strFlushTable = 'Flush the table ("FLUSH")';
$strIndexHasBeenDropped = 'Index %s has been dropped';//to translate
$strKeepPass = 'Do not change the password';//to translate
$strLinesTerminatedBy = 'Lines terminated by';//to translate

View File

@@ -318,6 +318,6 @@ $strYes = ' Si ';
$strZip = '"compresso con zip"';
// To translate
$strFlush = 'Flush';
$strFlushTable = 'Flush the table ("FLUSH")';
$strTableHasBeenFlushed = 'Table %s has been flushed';
?>

View File

@@ -320,5 +320,5 @@ $strCopyTable = 'Copy table to (database<b>.</b>table):';
$strMoveTable = 'Move table to (database<b>.</b>table):';
$strMoveTableOK = 'Table %s has been moved to %s.';
$strTableHasBeenFlushed = 'Table %s has been flushed';
$strFlush = 'Flush';
$strFlushTable = 'Flush the table ("FLUSH")';
?>

View File

@@ -320,5 +320,5 @@ $strCopyTable = 'Copy table to (database<b>.</b>table):';
$strMoveTable = 'Move table to (database<b>.</b>table):';
$strMoveTableOK = 'Table %s has been moved to %s.';
$strTableHasBeenFlushed = 'Table %s has been flushed';
$strFlush = 'Flush';
$strFlushTable = 'Flush the table ("FLUSH")';
?>

View File

@@ -315,6 +315,6 @@ $strYes = 'Ja';
$strZip = '"komprimert (zip)"';
// To translate
$strFlush = 'Flush';
$strFlushTable = 'Flush the table ("FLUSH")';
$strTableHasBeenFlushed = 'Table %s has been flushed';
?>

View File

@@ -312,7 +312,7 @@ $strZip = '".zip"';
// To translate
$strCopyTable = 'Copy table to (database<b>.</b>table):';
$strFlush = 'Flush';
$strFlushTable = 'Flush the table ("FLUSH")';
$strMoveTable = 'Move table to (database<b>.</b>table):';
$strMoveTableOK = 'Table %s has been moved to %s.';
$strNoQuery = 'No SQL query!'; //to translate

View File

@@ -319,6 +319,6 @@ $strNoQuery = 'No SQL query!'; //to translate
$strCopyTable = 'Copy table to (database<b>.</b>table):';
$strMoveTable = 'Move table to (database<b>.</b>table):';
$strMoveTableOK = 'Table %s has been moved to %s.';
$strFlush = 'Flush';
$strFlushTable = 'Flush the table ("FLUSH")';
$strTableHasBeenFlushed = 'Table %s has been flushed';
?>

View File

@@ -311,7 +311,7 @@ $strYes = 'Da';
// To translate
$strCopyTable = 'Copy table to (database<b>.</b>table):';
$strFlush = 'Flush';
$strFlushTable = 'Flush the table ("FLUSH")';
$strMoveTable = 'Move table to (database<b>.</b>table):';
$strMoveTableOK = 'Table %s has been moved to %s.';
$strNoQuery = 'No SQL query!'; //to translate

View File

@@ -314,7 +314,7 @@ $strYes = '
$strZip = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> "zip"';
// To translate
$strFlush = 'Flush';
$strFlushTable = 'Flush the table ("FLUSH")';
$strTableHasBeenFlushed = 'Table %s has been flushed';
$strUpdateProfile = 'Update profile:';//to translate
$strUpdateProfileMessage = 'The profile has been updated.';//to translate

View File

@@ -314,7 +314,7 @@ $strYes = '
$strZip = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> "zip"';
// To translate
$strFlush = 'Flush';
$strFlushTable = 'Flush the table ("FLUSH")';
$strTableHasBeenFlushed = 'Table %s has been flushed';
$strUpdateProfile = 'Update profile:';//to translate
$strUpdateProfileMessage = 'The profile has been updated.';//to translate

View File

@@ -318,6 +318,6 @@ $strYes = '
$strZip = '"zo zipovan<61>"';
// To translate
$strFlush = 'Flush';
$strFlushTable = 'Flush the table ("FLUSH")';
$strTableHasBeenFlushed = 'Table %s has been flushed';
?>

View File

@@ -315,6 +315,6 @@ $strDatabaseHasBeenDropped = 'Database %s has been dropped.'; //to translate
$strCopyTable = 'Copy table to (database<b>.</b>table):';
$strMoveTable = 'Move table to (database<b>.</b>table):';
$strMoveTableOK = 'Table %s has been moved to %s.';
$strFlush = 'Flush';
$strFlushTable = 'Flush the table ("FLUSH")';
$strTableHasBeenFlushed = 'Table %s has been flushed';
?>

View File

@@ -316,6 +316,6 @@ $strYes = 'Ja';
$strZip = '"zippad"';
// To translate
$strFlush = 'Flush';
$strFlushTable = 'Flush the table ("FLUSH")';
$strTableHasBeenFlushed = 'Table %s has been flushed';
?>

View File

@@ -320,6 +320,6 @@ $strNoQuery = 'No SQL query!'; //to translate
$strCopyTable = 'Copy table to (database<b>.</b>table):';
$strMoveTable = 'Move table to (database<b>.</b>table):';
$strMoveTableOK = 'Table %s has been moved to %s.';
$strFlush = 'Flush';
$strFlushTable = 'Flush the table ("FLUSH")';
$strTableHasBeenFlushed = 'Table %s has been flushed';
?>

View File

@@ -155,9 +155,7 @@ if ($num_rows > 0) {
<b><?php echo $strInsert; ?></b></a> ]&nbsp;&nbsp;&nbsp;
[ <a href="sql.php3?<?php echo $url_query; ?>&amp;sql_query=<?php echo urlencode('DELETE FROM ' . backquote($table)); ?>&amp;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> ]&nbsp;&nbsp;&nbsp;
[ <a href="sql.php3?<?php echo $url_query; ?>&amp;sql_query=<?php echo urlencode('FLUSH TABLE ' . backquote($table)); ?>&amp;zero_rows=<?php echo urlencode(sprintf($strTableHasBeenFlushed, htmlspecialchars($table))); ?>&amp;reload=1" title="&quot;FLUSH&quot;">
<b><?php echo $strFlush; ?></b></a> ]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<b><?php echo $strEmpty; ?></b></a> ]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
[ <a href="sql.php3?<?php echo ereg_replace('tbl_properties.php3$', 'db_details.php3', $url_query); ?>&amp;back=tbl_properties.php3&amp;reload=1&amp;sql_query=<?php echo urlencode('DROP TABLE ' . backquote($table)); ?>&amp;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> ]&nbsp;&nbsp;&nbsp;
[ <a href="tbl_change.php3?<?php echo $url_query; ?>">
<b><?php echo $strInsert; ?></b></a> ]&nbsp;&nbsp;&nbsp;
[ <b><?php echo $strEmpty; ?></b> ]&nbsp;&nbsp;&nbsp;
[ <a href="sql.php3?<?php echo $url_query; ?>&amp;sql_query=<?php echo urlencode('FLUSH TABLE ' . backquote($table)); ?>&amp;zero_rows=<?php echo urlencode(sprintf($strTableHasBeenFlushed, htmlspecialchars($table))); ?>&amp;reload=1" title="&quot;FLUSH&quot;">
<b><?php echo $strFlush; ?></b></a> ]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
[ <b><?php echo $strEmpty; ?></b> ]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
[ <a href="sql.php3?<?php echo ereg_replace('tbl_properties.php3$', 'db_details.php3', $url_query); ?>&amp;back=tbl_properties.php3&amp;reload=1&amp;sql_query=<?php echo urlencode('DROP TABLE ' . backquote($table)); ?>&amp;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> ]&nbsp;&nbsp;&nbsp;
[ <a href="sql.php3?<?php echo $url_query; ?>&amp;sql_query=<?php echo urlencode('DELETE FROM ' . backquote($table)); ?>&amp;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> ]&nbsp;&nbsp;&nbsp;
[ <a href="sql.php3?<?php echo $url_query; ?>&amp;sql_query=<?php echo urlencode('FLUSH TABLE ' . backquote($table)); ?>&amp;zero_rows=<?php echo urlencode(sprintf($strTableHasBeenFlushed, htmlspecialchars($table))); ?>&amp;reload=1" title="&quot;FLUSH&quot;">
<b><?php echo $strFlush; ?></b></a> ]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<b><?php echo $strEmpty; ?></b></a> ]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
[ <a href="sql.php3?<?php echo ereg_replace('tbl_properties.php3$', 'db_details.php3', $url_query); ?>&amp;back=tbl_properties.php3&amp;reload=1&amp;sql_query=<?php echo urlencode('DROP TABLE ' . backquote($table)); ?>&amp;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> ]&nbsp;&nbsp;&nbsp;
[ <a href="tbl_change.php3?<?php echo $url_query; ?>">
<b><?php echo $strInsert; ?></b></a> ]&nbsp;&nbsp;&nbsp;
[ <b><?php echo $strEmpty; ?></b> ]&nbsp;&nbsp;&nbsp;
[ <a href="sql.php3?<?php echo $url_query; ?>&amp;sql_query=<?php echo urlencode('FLUSH TABLE ' . backquote($table)); ?>&amp;zero_rows=<?php echo urlencode(sprintf($strTableHasBeenFlushed, htmlspecialchars($table))); ?>&amp;reload=1" title="&quot;FLUSH&quot;">
<b><?php echo $strFlush; ?></b></a> ]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
[ <b><?php echo $strEmpty; ?></b> ]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
[ <a href="sql.php3?<?php echo ereg_replace('tbl_properties.php3$', 'db_details.php3', $url_query); ?>&amp;back=tbl_properties.php3&amp;reload=1&amp;sql_query=<?php echo urlencode('DROP TABLE ' . backquote($table)); ?>&amp;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; ?>&amp;sql_query=<?php echo urlencode('FLUSH TABLE ' . backquote($table)); ?>&amp;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); ?>&amp;back=tbl_properties.php3&amp;reload=1&amp;sql_query=<?php echo urlencode('DROP TABLE ' . backquote($table)); ?>&amp;zero_rows=<?php echo urlencode(sprintf($strTableHasBeenDropped, htmlspecialchars($table))); ?>"