Feature request #463164 (Add ability to move -rename- across db's)

This commit is contained in:
Loïc Chapeaux
2001-09-24 19:50:38 +00:00
parent 63796a556e
commit 0c901205ec
30 changed files with 157 additions and 51 deletions

View File

@@ -5,11 +5,17 @@ phpMyAdmin - Changelog
$Id$
$Source$
2001-09-23 Lo<4C>c Chapeaux <lolo@phpheaven.net>
* tbl_properties.php3; tbl_copy.php3 (removed); tbl_move_copy.php3 (added);
lang/*: feature request #463164 (Add ability to move -rename- across
db's).
* lang/italian.inc.php3 updates, thanks to Pietro Danesi.
2001-09-24 Marc Delisle <lem9@users.sourceforge.net>
* lang/polish.inc.php3 updates, thanks to Jakub Wilk.
* lang/romanian.inc.php3 updates, thanks to Valics Lehel.
* lang/galician.inc.php3 updates, thanks to Xos<6F> Calvo.
2001-09-23 Benjamin Gandon <gandon@users.sourceforge.net>
* read_dump.php3: widely improved (some remaining bugs has been fixed and
the script is now about too time faster than before).

View File

@@ -65,7 +65,6 @@ $strColumnEmpty = 'Os nomes das colunas est
$strColumnNames = 'Nome da Colunas';
$strCompleteInserts = 'Inser<65><72>es Completas';
$strConfirm = 'Voc<6F> tem certeza?';
$strCopyTable = 'Copia tabela para';
$strCopyTableOK = 'Tabela %s copiada para %s.';
$strCreate = 'Cria';
$strCreateNewDatabase = 'Cria novo banco de dados';
@@ -308,10 +307,13 @@ $strWrongUser = 'Usu
$strYes = 'Sim';
// To translate
$strCopyTable = 'Copy table to (database<b>.</b>table):';
$strDatabaseHasBeenDropped = 'Database %s has been dropped.'; //to translate
$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
$strMoveTable = 'Move table to (database<b>.</b>table):';
$strMoveTableOK = 'Table %s has been moved to %s.';
$strNoQuery = 'No SQL query!'; //to translate
$strRunningAs = 'as';
$strSetEnumVal = 'If field type is "enum" or "set", please enter the values using this format: \'a\',\'b\',\'c\'...<br />If you ever need to put a backslash ("\") or a single quote ("\'") amongst those values, backslashes it (for example \'\\\\xyz\' or \'a\\\'b\').'; //to translate

View File

@@ -59,7 +59,6 @@ $strColumnEmpty = 'The columns names are empty!'; //to translate
$strColumnNames = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
$strCompleteInserts = 'Complete inserts'; //to translate
$strConfirm = 'Do you really want to do it?'; //to translate
$strCopyTable = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>';
$strCopyTableOK = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> %s <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> %s.';
$strCreate = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
$strCreateNewDatabase = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><>';
@@ -327,4 +326,7 @@ $strUpdateProfile = 'Update profile:';//to translate
$strUpdateProfileMessage = 'The profile has been updated.';//to translate
$strDatabaseHasBeenDropped = 'Database %s has been dropped.'; //to translate
$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.';
?>

View File

@@ -62,7 +62,6 @@ $strColumnEmpty = 'Els noms de les columnes s&oacute;n buits!';
$strColumnNames = 'Nom de les col&middot;lumnes';
$strCompleteInserts = 'Completar insercions';
$strConfirm = 'Ho vols fer realment ?';
$strCopyTable = 'Copiar la taula a';
$strCopyTableOK = 'La taula %s ha estat copiada a %s.';
$strCreate = 'Crear';
$strCreateNewDatabase = 'Crea una nova base de dades';
@@ -323,4 +322,7 @@ $strUpdateProfile = 'Update profile:';//to translate
$strUpdateProfileMessage = 'The profile has been updated.';//to translate
$strDatabaseHasBeenDropped = 'Database %s has been dropped.'; //to translate
$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.';
?>

View File

@@ -63,7 +63,6 @@ $strColumnEmpty = '
$strColumnNames = '<27><><EFBFBD><EFBFBD><EFBFBD>W<EFBFBD><57>';
$strCompleteInserts = 'Complete inserts';
$strConfirm = '<27>z<EFBFBD>T<EFBFBD>w<EFBFBD>n<EFBFBD>o<EFBFBD>˰<EFBFBD>?';
$strCopyTable = '<27>ƻs<C6BB><73><EFBFBD>ƪ<EFBFBD><C6AA><EFBFBD>';
$strCopyTableOK = '<27>w<EFBFBD>g<EFBFBD>N<EFBFBD><4E><EFBFBD>ƪ<EFBFBD> %s <20>ƻs<C6BB><73> %s.';
$strCreate = '<27>إ<EFBFBD>';
$strCreateNewDatabase = '<27>إ߷s<DFB7><73><EFBFBD>Ʈw';
@@ -323,4 +322,7 @@ $strUpdateProfileMessage = 'The profile has been updated.';//to translate
$strDatabaseHasBeenDropped = 'Database %s has been dropped.'; //to translate
$strZip = '"zipped"'; //to translate
$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.';
?>

View File

@@ -59,7 +59,6 @@ $strColumnEmpty = 'The columns names are empty!'; //to translate
$strColumnNames = '<27>ֶ<EFBFBD><D6B6><EFBFBD>';
$strCompleteInserts = 'Complete inserts'; //to translate
$strConfirm = 'Do you really want to do it?'; //to translate
$strCopyTable = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݱ<EFBFBD>Ϊ';
$strCopyTableOK = '<27><><EFBFBD>ݱ<EFBFBD> %s <20>Ѿ<EFBFBD><D1BE>ɹ<EFBFBD><C9B9><EFBFBD><EFBFBD><EFBFBD>Ϊ %s<><73>';
$strCreate = '<27><><EFBFBD><EFBFBD>';
$strCreateNewDatabase = '<27><><EFBFBD><EFBFBD>һ<EFBFBD><D2BB><EFBFBD>µ<EFBFBD><C2B5><EFBFBD><EFBFBD>ݿ<EFBFBD>';
@@ -327,4 +326,7 @@ $strUpdateProfile = 'Update profile:';//to translate
$strUpdateProfileMessage = 'The profile has been updated.';//to translate
$strDatabaseHasBeenDropped = 'Database %s has been dropped.'; //to translate
$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.';
?>

View File

@@ -300,6 +300,7 @@ $strZip = '"zazipov
// To translate
$strAPrimaryKey = 'A primary key has been added on %s';//to translate
$strAnIndex = 'An index has been added on %s';//to translate
$strCopyTable = 'Copy table to (database<b>.</b>table):';
$strDatabaseHasBeenDropped = 'Database %s has been dropped.'; //to translate
$strDeleteUserMessage = 'You have deleted the user %s.';//to translate
$strFieldHasBeenDropped = 'Field %s has been dropped';//to translate
@@ -310,6 +311,8 @@ $strIdxFulltext = 'Fulltext'; //to translate
$strIndexHasBeenDropped = 'Index %s has been dropped';//to translate
$strKeepPass = 'Do not change the password';//to translate
$strLinesTerminatedBy = 'Lines terminated by';//to translate
$strMoveTable = 'Move table to (database<b>.</b>table):';
$strMoveTableOK = 'Table %s has been moved to %s.';
$strNoQuery = 'No SQL query!'; //to translate
$strPrimaryKeyHasBeenDropped = 'The primary key has been dropped';//to translate
$strRunningAs = 'as';

View File

@@ -63,7 +63,6 @@ $strColumnEmpty = 'Jm
$strColumnNames = 'N<>zvy sloupc<70>';
$strCompleteInserts = 'Upln<6C> inserty';
$strConfirm = 'Opravdu chcete toto prov<6F>st?';
$strCopyTable = 'Zkop<6F>rovat tabulku do';
$strCopyTableOK = 'Tabulka %s byla zkop<6F>rov<6F>na do %s.';
$strCreate = 'Vytvo<76>it';
$strCreateNewDatabase = 'Vytvo<76>it novou datab<61>zi';
@@ -300,6 +299,7 @@ $strZip = '"zazipov
// To translate
$strAPrimaryKey = 'A primary key has been added on %s';//to translate
$strAnIndex = 'An index has been added on %s';//to translate
$strCopyTable = 'Copy table to (database<b>.</b>table):';
$strDatabaseHasBeenDropped = 'Database %s has been dropped.'; //to translate
$strDeleteUserMessage = 'You have deleted the user %s.';//to translate
$strFieldHasBeenDropped = 'Field %s has been dropped';//to translate
@@ -310,6 +310,8 @@ $strIdxFulltext = 'Fulltext'; //to translate
$strIndexHasBeenDropped = 'Index %s has been dropped';//to translate
$strKeepPass = 'Do not change the password';//to translate
$strLinesTerminatedBy = 'Lines terminated by';//to translate
$strMoveTable = 'Move table to (database<b>.</b>table):';
$strMoveTableOK = 'Table %s has been moved to %s.';
$strNoQuery = 'No SQL query!'; //to translate
$strPrimaryKeyHasBeenDropped = 'The primary key has been dropped';//to translate
$strRunningAs = 'as';

View File

@@ -62,7 +62,6 @@ $strColumnEmpty = 'The columns names are empty!'; //to translate
$strColumnNames = 'Kolonne navne';
$strCompleteInserts = 'Lav komplette inserts';
$strConfirm = 'Do you really want to do it?'; //to translate
$strCopyTable = 'Kopier tabel til';
$strCopyTableOK = 'Tabellen %s er nu kopieret til: %s.';
$strCreate = 'Opret';
$strCreateNewDatabase = 'Opret ny database';
@@ -322,4 +321,7 @@ $strUpdateProfileMessage = 'The profile has been updated.';//to translate
$strDatabaseHasBeenDropped = 'Database %s has been dropped.'; //to translate
$strZip = '"zipped"'; //to translate
$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.';
?>

View File

@@ -61,7 +61,6 @@ $strColumnEmpty = 'De kolommen zijn leeg!';
$strColumnNames = 'Kolom namen';
$strCompleteInserts = 'Complete inserts'; //to translate
$strConfirm = 'Weet u zeker dat u dit wilt?';
$strCopyTable = 'Kopieer tabel naar';
$strCopyTableOK = 'Tabel %s is gekopieerd naar %s.';
$strCreate = 'Aanmaken';
$strCreateNewDatabase = 'Nieuwe database aanmaken';
@@ -322,4 +321,7 @@ $strUpdateProfileMessage = 'The profile has been updated.';//to translate
$strDatabaseHasBeenDropped = 'Database %s has been dropped.'; //to translate
$strZip = '"zipped"'; //to translate
$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.';
?>

View File

@@ -65,7 +65,7 @@ $strColumnEmpty = 'The columns names are empty!';
$strColumnNames = 'Column names';
$strCompleteInserts = 'Complete inserts';
$strConfirm = 'Do you really want to do it?';
$strCopyTable = 'Copy table to';
$strCopyTable = 'Copy table to (database<b>.</b>table):';
$strCopyTableOK = 'Table %s has been copied to %s.';
$strCreate = 'Create';
$strCreateNewDatabase = 'Create new database';
@@ -167,6 +167,8 @@ $strLogout = 'Log out';
$strModifications = 'Modifications have been saved';
$strModify = 'Modify';
$strMoveTable = 'Move table to (database<b>.</b>table):';
$strMoveTableOK = 'Table %s has been moved to %s.';
$strMySQLReloaded = 'MySQL reloaded.';
$strMySQLSaid = 'MySQL said: ';
$strMySQLShowProcess = 'Show processes';

View File

@@ -69,7 +69,6 @@ $strColumnEmpty = 'Sarakkeiden nimet puuttuvat!';
$strColumnNames = 'Saraikkeiden nimet';
$strCompleteInserts = 'T<>ydelliset insert-lauseet';
$strConfirm = 'Oletko varma, ett<74> haluat tehd<68> t<>m<EFBFBD>n?';
$strCopyTable = 'Kopioi taulu nimell<6C>';
$strCopyTableOK = 'Taulu %s on kopioitu nimelle %s.';
$strCreate = 'Luo';
$strCreateNewDatabase = 'Luo uusi tietokanta';
@@ -320,6 +319,9 @@ $strYes = 'Kyll
$strZip = '"zip-pakattu"';
// 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.';
$strNoQuery = 'No SQL query!'; //to translate
$strOverhead = 'Overhead'; //to translate
$strRunningAs = 'as';

View File

@@ -65,7 +65,7 @@ $strColumnEmpty = 'Les noms de colonnes sont vides';
$strColumnNames = 'Nom des colonnes';
$strCompleteInserts = 'Insertions compl<70>tes';
$strConfirm = 'Veuillez confirmer';
$strCopyTable = '<b>Copier</b> la table vers';
$strCopyTable = '<b>Copier</b> la table vers (base<b>.</b>table)&nbsp;:';
$strCopyTableOK = 'La table %s a <20>t<EFBFBD> copi<70>e vers %s.';
$strCreate = 'Cr<43>er';
$strCreateNewDatabase = 'Cr<43>er une base de donn<6E>es';
@@ -167,6 +167,8 @@ $strLogout = 'Quitter';
$strModifications = 'Les modifications ont <20>t<EFBFBD> sauvegard<72>es.';
$strModify = 'Modifier';
$strMoveTable = '<b>D<>placer</b> la table vers (base<b>.</b>table)&nbsp;:';
$strMoveTableOK = 'La table %s a <20>t<EFBFBD> d<>plac<61>e vers %s.';
$strMySQLReloaded = 'MySQL recharg<72>.';
$strMySQLSaid = 'MySQL a r<>pondu:';
$strMySQLShowProcess = 'Afficher les processus';
@@ -321,4 +323,5 @@ $strWrongUser = 'Erreur d\'utilisateur/mot de passe. Acc
$strYes = 'Oui';
$strZip = '"zipp<70>"';
?>

View File

@@ -65,7 +65,6 @@ $strColumnEmpty = 'Os nomes das columnas est
$strColumnNames = 'Nomes das Columnas';
$strCompleteInserts = 'Inserci<63>ns completas';
$strConfirm = 'Est<73> seguro/a?';
$strCopyTable = 'Copiar a tabela para';
$strCopyTableOK = 'Tabela \$table copiada para \$new_name.';
$strCreate = 'Crear';
$strCreateNewDatabase = 'Crear un novo banco de datos';
@@ -320,6 +319,9 @@ $strYes = 'Si';
$strZip = 'comprimido no formato "zipped"';
// 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.';
$strNoQuery = 'No SQL query!'; //to translate
$strShowAll = 'Show all'; // to translate
$strWithChecked = 'With checked:';

View File

@@ -63,7 +63,6 @@ $strColumnEmpty = 'Die Spalten-Titel sind leer!';
$strColumnNames = 'Spaltennamen';
$strCompleteInserts = 'Vollst<73>ndige \'INSERT\'s';
$strConfirm = 'Bist du dir wirklich sicher?';
$strCopyTable = 'Tabelle kopieren nach';
$strCopyTableOK = 'Tabelle %s wurde kopiert nach %s.';
$strCreate = 'Erzeugen';
$strCreateNewDatabase = 'Neue Datenbank erzeugen';
@@ -304,6 +303,7 @@ $strZip = '"Zip komprimiert"';
// To translate
$strAPrimaryKey = 'A primary key has been added on %s';//to translate
$strAnIndex = 'An index has been added on %s';//to translate
$strCopyTable = 'Copy table to (database<b>.</b>table):';
$strDatabaseHasBeenDropped = 'Database %s has been dropped.'; //to translate
$strFieldHasBeenDropped = 'Field %s has been dropped';//to translate
$strFieldsEnclosedBy = 'Fields enclosed by';//to translate
@@ -312,6 +312,8 @@ $strFieldsTerminatedBy = 'Fields terminated by';//to translate
$strIndexHasBeenDropped = 'Index %s has been dropped';//to translate
$strKeepPass = 'Do not change the password';//to translate
$strLinesTerminatedBy = 'Lines terminated by';//to translate
$strMoveTable = 'Move table to (database<b>.</b>table):';
$strMoveTableOK = 'Table %s has been moved to %s.';
$strNoQuery = 'No SQL query!'; //to translate
$strPrimaryKeyHasBeenDropped = 'The primary key has been dropped';//to translate
$strRunningAs = 'as';

View File

@@ -63,7 +63,6 @@ $strColumnEmpty = '
$strColumnNames = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
$strCompleteInserts = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
$strConfirm = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>;';
$strCopyTable = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>';
$strCopyTableOK = '<27> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> %s <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> %s.';
$strCreate = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
$strCreateNewDatabase = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>';
@@ -301,6 +300,7 @@ $strZip = '
// To translate
$strAPrimaryKey = 'A primary key has been added on %s';//to translate
$strAnIndex = 'An index has been added on %s';//to translate
$strCopyTable = 'Copy table to (database<b>.</b>table):';
$strDatabaseHasBeenDropped = 'Database %s has been dropped.'; //to translate
$strDeleteUserMessage = 'You have deleted the user %s.';//to translate
$strFieldHasBeenDropped = 'Field %s has been dropped';//to translate
@@ -310,6 +310,8 @@ $strFieldsTerminatedBy = 'Fields terminated by';//to translate
$strIndexHasBeenDropped = 'Index %s has been dropped';//to translate
$strKeepPass = 'Do not change the password';//to translate
$strLinesTerminatedBy = 'Lines terminated by';//to translate
$strMoveTable = 'Move table to (database<b>.</b>table):';
$strMoveTableOK = 'Table %s has been moved to %s.';
$strNoQuery = 'No SQL query!'; //to translate
$strPrimaryKeyHasBeenDropped = 'The primary key has been dropped';//to translate
$strRunningAs = 'as';

View File

@@ -59,7 +59,6 @@ $strColumnEmpty = 'The columns names are empty!'; //to translate
$strColumnNames = '<27><>(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)̾';
$strCompleteInserts = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>INSERTʸ<54>κ<EFBFBD><CEBA><EFBFBD>';
$strConfirm = 'Do you really want to do it?'; //to translate
$strCopyTable = '<27>ơ<EFBFBD><C6A1>֥<EFBFBD><D6A5>򼡤إ<F2BCA1A4><D8A5>ԡ<EFBFBD><D4A1><EFBFBD><EFBFBD>ޤ<EFBFBD><DEA4><EFBFBD>-->';
$strCopyTableOK = '%s<>ơ<EFBFBD><C6A1>֥<EFBFBD><D6A5><EFBFBD>%s<>˥<EFBFBD><CBA5>ԡ<EFBFBD><D4A1><EFBFBD><EFBFBD>ޤ<EFBFBD><DEA4><EFBFBD><EFBFBD><EFBFBD>';
$strCreate = '<27><><EFBFBD><EFBFBD>';
$strCreateNewDatabase = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>DB<44><42><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD><DEA4><EFBFBD>';
@@ -326,4 +325,7 @@ $strUpdateProfile = 'Update profile:';//to translate
$strUpdateProfileMessage = 'The profile has been updated.';//to translate
$strDatabaseHasBeenDropped = 'Database %s has been dropped.'; //to translate
$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.';
?>

View File

@@ -59,7 +59,6 @@ $strColumnEmpty = 'The columns names are empty!'; //to translate
$strColumnNames = <><C4AE>(<28><>) <20≯<EFBFBD>';
$strCompleteInserts = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> INSERT<52><54> <20>ۼ<EFBFBD>';
$strConfirm = 'Do you really want to do it?'; //to translate
$strCopyTable = '<27><><EFBFBD>̺<EFBFBD><CCBA><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>մϴ<D5B4>. -->';
$strCopyTableOK = '%s <20><><EFBFBD>̺<EFBFBD><CCBA><EFBFBD> %s <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>Ǿ<EFBFBD><C7BE><EFBFBD><EFBFBD>ϴ<EFBFBD>.';
$strCreate = ' <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ';
$strCreateNewDatabase = '<27><><EFBFBD>ο<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>̽<EFBFBD><CCBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD>';
@@ -326,4 +325,7 @@ $strUpdateProfile = 'Update profile:';//to translate
$strUpdateProfileMessage = 'The profile has been updated.';//to translate
$strDatabaseHasBeenDropped = 'Database %s has been dropped.'; //to translate
$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.';
?>

View File

@@ -64,7 +64,6 @@ $strColumnEmpty = 'Kolonnenavnene er tomme!';
$strColumnNames = 'Kolonnenavn';
$strCompleteInserts = 'Komplette innlegg';
$strConfirm = '<27>nsker du virkelig <20> gj<67>re det?';
$strCopyTable = 'Kopier tabell til';
$strCopyTableOK = 'Tabellen %s er kopiert til %s.';
$strCreate = 'Opprett';
$strCreateNewDatabase = 'Opprett ny database';
@@ -305,10 +304,13 @@ $strYes = 'Ja';
// To translate
$strCarriage = 'Carriage return: \\r'; //to translate
$strCopyTable = 'Copy table to (database<b>.</b>table):';
$strDatabaseHasBeenDropped = 'Database %s has been dropped.'; //to translate
$strDeleteUserMessage = 'You have deleted the user %s.';//to translate
$strGrants = 'Grants'; //to translate
$strKeepPass = 'Do not change the password';//to translate
$strMoveTable = 'Move table to (database<b>.</b>table):';
$strMoveTableOK = 'Table %s has been moved to %s.';
$strNoQuery = 'No SQL query!'; //to translate
$strPartialText = 'Partial Texts'; //to translate
$strRunningAs = 'as';

View File

@@ -65,7 +65,6 @@ $strColumnEmpty = 'Brak nazw kolumn!';
$strColumnNames = 'Nazwy kolumn';
$strCompleteInserts = 'Pe<50>ne dodania';
$strConfirm = 'Czy na pewno to zrobic?';
$strCopyTable = 'Kopiowanie tabeli do';
$strCopyTableOK = 'Tabela %s zosta<74>a przekopiowana do %s.';
$strCreate = 'Utworzenie';
$strCreateNewDatabase = 'Utworzenie nowej bazy danych';
@@ -321,5 +320,8 @@ $strYes = 'Tak';
$strZip = '".zip"';
// 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.';
$strNoQuery = 'No SQL query!'; //to translate
?>

View File

@@ -59,7 +59,6 @@ $strColumnEmpty = 'The columns names are empty!'; //to translate
$strColumnNames = 'Nome da Colunas';
$strCompleteInserts = 'Complete inserts'; //to translate
$strConfirm = 'Do you really want to do it?'; //to translate
$strCopyTable = 'Copia tabela para';
$strCopyTableOK = 'Tabela %s copiada para %s.';
$strCreate = 'Cria';
$strCreateNewDatabase = 'Cria novo banco de dados';
@@ -326,4 +325,7 @@ $strUpdateProfile = 'Update profile:';//to translate
$strUpdateProfileMessage = 'The profile has been updated.';//to translate
$strDatabaseHasBeenDropped = 'Database %s has been dropped.'; //to translate
$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.';
?>

View File

@@ -65,7 +65,6 @@ $strColumnEmpty = 'Numele coloanelor sunt goale!';
$strColumnNames = 'Numele coloanelor';
$strCompleteInserts = 'Rezolva inserarea';
$strConfirm = 'Sunteti sigur ca doriti sa continuati?';
$strCopyTable = 'Copiaza tabel la:';
$strCopyTableOK = 'Tabelul %s a fost copiat la %s.';
$strCreate = 'Creaza';
$strCreateNewDatabase = 'Creaza baza de date noua';
@@ -320,6 +319,9 @@ $strWithChecked = 'Verificat cu:';
$strYes = 'Da';
// 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.';
$strNoQuery = 'No SQL query!'; //to translate
$strZip = '"zipped"'; //to translate
?>

View File

@@ -61,7 +61,6 @@ $strColumnEmpty = '
$strColumnNames = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
$strCompleteInserts = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
$strConfirm = '<27><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>?';
$strCopyTable = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>';
$strCopyTableOK = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> %s <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> %s.';
$strCreate = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
$strCreateNewDatabase = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><>';
@@ -322,4 +321,7 @@ $strUpdateProfileMessage = 'The profile has been updated.';//to translate
$strDatabaseHasBeenDropped = 'Database %s has been dropped.'; //to translate
$strZip = '"zipped"'; //to translate
$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.';
?>

View File

@@ -61,7 +61,6 @@ $strColumnEmpty = '
$strColumnNames = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
$strCompleteInserts = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
$strConfirm = '<27><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>?';
$strCopyTable = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>';
$strCopyTableOK = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> %s <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> %s.';
$strCreate = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
$strCreateNewDatabase = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><>';
@@ -322,4 +321,7 @@ $strUpdateProfileMessage = 'The profile has been updated.';//to translate
$strDatabaseHasBeenDropped = 'Database %s has been dropped.'; //to translate
$strZip = '"zipped"'; //to translate
$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.';
?>

View File

@@ -66,6 +66,7 @@ $strColumnEmpty = 'N
$strColumnNames = 'N<>zvy st<73>pcov';
$strCompleteInserts = '<27>pln<6C> vlo<6C>enie';
$strConfirm = 'Skuto<74>ne si <20>el<65>te toto vykona<6E>?';
$strCopyTable = 'Skop<6F>rova<76> tabu<62>ku do (datab<61>za<b>.</b>tabu<62>ka):';
$strCopyTable = 'Skop<6F>rova<76> tabu<62>ku do';
$strCopyTableOK = 'Tabu<62>ka %s bola skor<6F>rovan<61> do %s.';
$strCreate = 'Vytvori<72>';
@@ -318,6 +319,8 @@ $strYes = '
$strDatabaseHasBeenDropped = 'Database %s has been dropped.'; //to translate
$strDeleteUserMessage = 'You have deleted the user %s.';//to translate
$strKeepPass = 'Do not change the password';//to translate
$strMoveTable = 'Move table to (database<b>.</b>table):';
$strMoveTableOK = 'Table %s has been moved to %s.';
$strNoQuery = 'No SQL query!'; //to translate
$strUpdatePrivMessage = 'You have updated the privileges for %s.';//to translate
$strUpdateProfile = 'Update profile:';//to translate

View File

@@ -62,7 +62,6 @@ $strColumnEmpty = 'Los nombres de columna estan vacios!';
$strColumnNames = 'Nombre de columnas';
$strCompleteInserts = 'Completar los Inserts';
$strConfirm = 'Realmente quieres hacerlo?';
$strCopyTable = 'Copiar la tabla a';
$strCopyTableOK = 'La tabla %s ha sido copiada a %s.';
$strCreate = 'Crear';
$strCreateNewDatabase = 'Crear nueva base de datos';
@@ -322,4 +321,7 @@ $strUpdateProfileMessage = 'The profile has been updated.';//to translate
$strDatabaseHasBeenDropped = 'Database %s has been dropped.'; //to translate
$strZip = '"zipped"'; //to translate
$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.';
?>

View File

@@ -65,7 +65,6 @@ $strColumnEmpty = 'Kolumn-namnen
$strColumnNames = 'Kolumn-namn';
$strCompleteInserts = 'Kompletta infogningar';
$strConfirm = 'Vill du verkligen g<>ra det?';
$strCopyTable = 'Kopiera tabellen till';
$strCopyTableOK = 'Tabellen %s har kopierats till %s.';
$strCreate = 'Skapa';
$strCreateNewDatabase = 'Skapa ny databas';
@@ -323,4 +322,7 @@ $strYes = 'Ja';
$strZip = '"zippad"';
// 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.';
?>

View File

@@ -59,7 +59,6 @@ $strColumnEmpty = 'The columns names are empty!'; //to translate
$strColumnNames = '<27><><EFBFBD>ͤ<EFBFBD><CDA4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
$strCompleteInserts = 'Complete inserts';
$strConfirm = 'Do you really want to do it?'; //to translate
$strCopyTable = '<27><><EFBFBD><EFBFBD><EFBFBD>ҵ<EFBFBD><D2B5>ҧ<EFBFBD><D2A7><EFBFBD><EFBFBD>';
$strCopyTableOK = '<27><><EFBFBD>ҧ %s <20><><EFBFBD><EFBFBD><EFBFBD>ҡ<EFBFBD><D2A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> %s <20><><EFBFBD>º<EFBFBD><C2BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.';
$strCreate = '<27><><EFBFBD>ҧ';
$strCreateNewDatabase = '<27><><EFBFBD>ҧ<EFBFBD>ҹ<EFBFBD><D2B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
@@ -327,4 +326,7 @@ $strUpdateProfile = 'Update profile:';//to translate
$strUpdateProfileMessage = 'The profile has been updated.';//to translate
$strDatabaseHasBeenDropped = 'Database %s has been dropped.'; //to translate
$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.';
?>

41
tbl_copy.php3 → tbl_move_copy.php3 Executable file → Normal file
View File

@@ -28,8 +28,7 @@ function my_handler($sql_insert = '')
* Gets some core libraries
*/
require('./libraries/grab_globals.lib.php3');
$js_to_run = 'functions.js';
require('./header.inc.php3');
require('./libraries/common.lib.php3');
/**
@@ -64,8 +63,8 @@ if (isset($new_name) && trim($new_name) != '') {
$new_name = stripslashes($new_name);
}
if (MYSQL_INT_VERSION < 32306) {
check_reserved_words($db, $err_url);
check_reserved_words($table, $err_url);
check_reserved_words($target_db, $err_url);
check_reserved_words($new_name, $err_url);
}
$source = backquote($db) . '.' . backquote($table);
@@ -75,8 +74,11 @@ if (isset($new_name) && trim($new_name) != '') {
$sql_structure = get_table_def($db, $table, "\n", $err_url);
$sql_structure = eregi_replace('^CREATE TABLE (`?)' . $table . '(`?)', 'CREATE TABLE ' . $target, $sql_structure);
$result = mysql_query($sql_structure) or mysql_die('', $sql_structure, '', $err_url);
if (isset($sql_query)) {
$result = @mysql_query($sql_structure);
if (mysql_error()) {
include('./header.inc.php3');
mysql_die('', $sql_structure, '', $err_url);
} else if (isset($sql_query)) {
$sql_query .= "\n" . $sql_structure . ';';
} else {
$sql_query = $sql_structure . ';';
@@ -87,7 +89,11 @@ if (isset($new_name) && trim($new_name) != '') {
// speedup copy table - staybyte - 22. Juni 2001
if (MYSQL_INT_VERSION >= 32300) {
$sql_insert_data = 'INSERT INTO ' . $target . ' SELECT * FROM ' . backquote($table);
$result = mysql_query($sql_insert_data) or mysql_die('', $sql_insert_data, '', $err_url);
$result = @mysql_query($sql_insert_data);
if (mysql_error()) {
include('./header.inc.php3');
mysql_die('', $sql_insert_data, '', $err_url);
}
} // end MySQL >= 3.23
else {
$sql_insert_data = '';
@@ -96,8 +102,24 @@ if (isset($new_name) && trim($new_name) != '') {
$sql_query .= "\n\n" . $sql_insert_data;
}
$message = sprintf($strCopyTableOK, $source, $target);
$reload = 1;
// Drops old table if the user has requested to move it
if (isset($submit_move)) {
$sql_drop_table = 'DROP TABLE ' . $source;
$result = @mysql_query($sql_drop_table);
if (mysql_error()) {
include('./header.inc.php3');
mysql_die('', $sql_drop_table, '', $err_url);
}
$sql_query .= "\n\n" . $sql_drop_table . ';';
$db = $target_db;
$table = $new_name;
}
$message = (isset($submit_move) ? $strMoveTableOK : $strCopyTableOK);
$message = sprintf($message, $source, $target);
$reload = 1;
$js_to_run = 'functions.js';
include('./header.inc.php3');
} // end is target table name
@@ -105,6 +127,7 @@ if (isset($new_name) && trim($new_name) != '') {
* No new name for the table!
*/
else {
include('./header.inc.php3');
mysql_die($strTableEmpty, '', '', $err_url);
}

View File

@@ -521,7 +521,7 @@ if ($index_count > 0) {
echo "\n";
?>
<td>
<a href="sql.php3?<?php echo "$url_query&sql_query=$sql_query&zero_rows=$zero_rows\n"; ?>"
<a href="sql.php3?<?php echo $url_query . '&sql_query=' . $sql_query . '&zero_rows=' . $zero_rows; ?>"
onclick="return confirmLink(this, '<?php echo $js_msg; ?>')">
<?php echo $strDrop; ?></a>
</td>
@@ -952,12 +952,9 @@ echo "\n";
</form>
</li>
<!-- Change table name and copy table -->
<li style="vertical-align: top">
<!-- Change table name -->
<li>
<div style="margin-bottom: 10px">
<table border="0" cellspacing="0" cellpadding="0" style="vertical-align: top">
<tr>
<td valign="top">
<form method="post" action="tbl_rename.php3"
onsubmit="return emptyFormElements(this, 'new_name')">
<input type="hidden" name="server" value="<?php echo $server; ?>" />
@@ -965,20 +962,43 @@ echo "\n";
<input type="hidden" name="db" value="<?php echo $db; ?>" />
<input type="hidden" name="table" value="<?php echo $table; ?>" />
<input type="hidden" name="reload" value="1" />
<?php echo $strRenameTable; ?>&nbsp;:
<input type="text" size="20" name="new_name" />&nbsp;
<input type="submit" value="<?php echo $strGo; ?>" />
</form>
</div>
</li>
<!-- Move and copy table -->
<li style="vertical-align: top">
<div style="margin-bottom: 10px">
<table border="0" cellspacing="0" cellpadding="0" style="vertical-align: top">
<tr>
<td valign="top">
<form method="post" action="tbl_move_copy.php3"
onsubmit="return emptyFormElements(this, 'new_name')">
<input type="hidden" name="server" value="<?php echo $server; ?>" />
<input type="hidden" name="lang" value="<?php echo $lang; ?>" />
<input type="hidden" name="db" value="<?php echo $db; ?>" />
<input type="hidden" name="table" value="<?php echo $table; ?>" />
<input type="hidden" name="reload" value="1" />
<input type="hidden" name="what" value="data" />
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<?php echo $strRenameTable; ?>&nbsp;:
<td nowrap="nowrap">
<?php echo $strMoveTable . "\n"; ?>
</td>
</tr>
<tr>
<td>
<input type="text" style="width: 100%" name="new_name" />
<input type="text" size="10" name="target_db" />
&nbsp;<b>.</b>&nbsp;
<input type="text" size="20" name="new_name" value="<?php echo $table; ?>" />
</td>
</tr>
<tr>
<td align="right" valign="bottom">
<input type="submit" value="<?php echo $strGo; ?>" />
<td align="right" valign="top">
<input type="submit" name="submit_move" value="<?php echo $strGo; ?>" />
</td>
</tr>
</table>
@@ -986,7 +1006,7 @@ echo "\n";
</td>
<td width="25">&nbsp;</td>
<td valign="top">
<form method="post" action="tbl_copy.php3"
<form method="post" action="tbl_move_copy.php3"
onsubmit="return emptyFormElements(this, 'new_name')">
<input type="hidden" name="server" value="<?php echo $server; ?>" />
<input type="hidden" name="lang" value="<?php echo $lang; ?>" />
@@ -995,15 +1015,15 @@ echo "\n";
<input type="hidden" name="reload" value="1" />
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2">
<?php echo $strCopyTable . ' (' . trim($strDatabase) . '<b>.</b>' . trim($strTable) . ')'; ?>&nbsp;:
<td colspan="2" nowrap="nowrap">
<?php echo $strCopyTable . "\n"; ?>
</td>
</tr>
<tr>
<td colspan="2">
<input type="text" size="10" name="target_db" value="<?php echo $db; ?>" />
&nbsp;<b>.</b>&nbsp;
<input type="text" size="25" name="new_name" />
<input type="text" size="20" name="new_name" />
</td>
</tr>
<tr>
@@ -1014,7 +1034,7 @@ echo "\n";
<?php echo $strStrucData; ?>&nbsp;&nbsp;
</td>
<td align="right" valign="top">
<input type="submit" value="<?php echo $strGo; ?>" />
<input type="submit" name="submit_copy" value="<?php echo $strGo; ?>" />
</td>
</tr>
</table>