Skip to content

Commit

Permalink
We switch to database here. not table.
Browse files Browse the repository at this point in the history
  • Loading branch information
nijel committed Oct 22, 2004
1 parent 5f6b81f commit f812811
Show file tree
Hide file tree
Showing 104 changed files with 713 additions and 609 deletions.
2 changes: 2 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ $Source$
2004-10-22 Michal Čihař <michal@cihar.com>
* db_details_structure.php: Use "Structure" instead of "Properties" for
link to table structure.
* db_operations.php, lang/*: We switch to database here. not table.


2004-10-21 Marc Delisle <lem9@users.sourceforge.net>
* tbl_query_box.php: bug 1050691, missing parameters
Expand Down
6 changes: 3 additions & 3 deletions db_operations.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
/**
* Rename database
*/
if (isset($db) &&
if (isset($db) &&
((isset($db_rename) && $db_rename == 'true') ||
(isset($db_copy) && $db_copy == 'true'))) {

require_once('./libraries/tbl_move_copy.php');

if (isset($db_rename) && $db_rename == 'true') $move = TRUE;
else $move = FALSE;

if (!isset($newname) || empty($newname)) {
$message = $strDatabaseEmpty;
} else {
Expand Down Expand Up @@ -188,7 +188,7 @@
$pma_switch_to_new = 'true';
}
?>
<input type="checkbox" name="switch_to_new" value="true" id="checkbox_switch"<?php echo ((isset($pma_switch_to_new) && $pma_switch_to_new == 'true') ? ' checked="checked"' : ''); ?> style="vertical-align: middle" /><label for="checkbox_switch"><?php echo $strSwitchToTable; ?></label>&nbsp;&nbsp;
<input type="checkbox" name="switch_to_new" value="true" id="checkbox_switch"<?php echo ((isset($pma_switch_to_new) && $pma_switch_to_new == 'true') ? ' checked="checked"' : ''); ?> style="vertical-align: middle" /><label for="checkbox_switch"><?php echo $strSwitchToDatabase; ?></label>&nbsp;&nbsp;
</td>
<td align="<?php echo $cell_align_right; ?>" valign="bottom" bgcolor="<?php echo $cfg['BgcolorOne']; ?>">
<input type="submit" name="submit_copy" value="<?php echo $strGo; ?>" />
Expand Down
1 change: 1 addition & 0 deletions lang/afrikaans-iso-8859-1.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -747,4 +747,5 @@
$strSelectBinaryLog = 'Select binary log to view'; //to translate
$strDBCopy = 'Copy database to'; //to translate
$strCopyDatabaseOK = 'Database %s has been copied to %s'; //to translate
$strSwitchToDatabase = 'Switch to copied database'; //to translate
?>
1 change: 1 addition & 0 deletions lang/afrikaans-utf-8.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -748,4 +748,5 @@
$strSelectBinaryLog = 'Select binary log to view'; //to translate
$strDBCopy = 'Copy database to'; //to translate
$strCopyDatabaseOK = 'Database %s has been copied to %s'; //to translate
$strSwitchToDatabase = 'Switch to copied database'; //to translate
?>
1 change: 1 addition & 0 deletions lang/albanian-iso-8859-1.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -737,4 +737,5 @@
$strSelectBinaryLog = 'Select binary log to view'; //to translate
$strDBCopy = 'Copy database to'; //to translate
$strCopyDatabaseOK = 'Database %s has been copied to %s'; //to translate
$strSwitchToDatabase = 'Switch to copied database'; //to translate
?>
1 change: 1 addition & 0 deletions lang/albanian-utf-8.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -738,4 +738,5 @@
$strSelectBinaryLog = 'Select binary log to view'; //to translate
$strDBCopy = 'Copy database to'; //to translate
$strCopyDatabaseOK = 'Database %s has been copied to %s'; //to translate
$strSwitchToDatabase = 'Switch to copied database'; //to translate
?>
1 change: 1 addition & 0 deletions lang/arabic-utf-8.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -741,4 +741,5 @@
$strSelectBinaryLog = 'Select binary log to view'; //to translate
$strDBCopy = 'Copy database to'; //to translate
$strCopyDatabaseOK = 'Database %s has been copied to %s'; //to translate
$strSwitchToDatabase = 'Switch to copied database'; //to translate
?>
1 change: 1 addition & 0 deletions lang/arabic-windows-1256.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -740,4 +740,5 @@
$strSelectBinaryLog = 'Select binary log to view'; //to translate
$strDBCopy = 'Copy database to'; //to translate
$strCopyDatabaseOK = 'Database %s has been copied to %s'; //to translate
$strSwitchToDatabase = 'Switch to copied database'; //to translate
?>
1 change: 1 addition & 0 deletions lang/azerbaijani-iso-8859-9.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -736,4 +736,5 @@
$strSelectBinaryLog = 'Select binary log to view'; //to translate
$strDBCopy = 'Copy database to'; //to translate
$strCopyDatabaseOK = 'Database %s has been copied to %s'; //to translate
$strSwitchToDatabase = 'Switch to copied database'; //to translate
?>
1 change: 1 addition & 0 deletions lang/azerbaijani-utf-8.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -737,4 +737,5 @@
$strSelectBinaryLog = 'Select binary log to view'; //to translate
$strDBCopy = 'Copy database to'; //to translate
$strCopyDatabaseOK = 'Database %s has been copied to %s'; //to translate
$strSwitchToDatabase = 'Switch to copied database'; //to translate
?>
1 change: 1 addition & 0 deletions lang/basque-iso-8859-1.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -739,4 +739,5 @@
$strSelectBinaryLog = 'Select binary log to view'; //to translate
$strDBCopy = 'Copy database to'; //to translate
$strCopyDatabaseOK = 'Database %s has been copied to %s'; //to translate
$strSwitchToDatabase = 'Switch to copied database'; //to translate
?>
1 change: 1 addition & 0 deletions lang/basque-utf-8.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -740,4 +740,5 @@
$strSelectBinaryLog = 'Select binary log to view'; //to translate
$strDBCopy = 'Copy database to'; //to translate
$strCopyDatabaseOK = 'Database %s has been copied to %s'; //to translate
$strSwitchToDatabase = 'Switch to copied database'; //to translate
?>
1 change: 1 addition & 0 deletions lang/bosnian-utf-8.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -746,4 +746,5 @@
$strSelectBinaryLog = 'Select binary log to view'; //to translate
$strDBCopy = 'Copy database to'; //to translate
$strCopyDatabaseOK = 'Database %s has been copied to %s'; //to translate
$strSwitchToDatabase = 'Switch to copied database'; //to translate
?>
1 change: 1 addition & 0 deletions lang/bosnian-windows-1250.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -745,4 +745,5 @@
$strSelectBinaryLog = 'Select binary log to view'; //to translate
$strDBCopy = 'Copy database to'; //to translate
$strCopyDatabaseOK = 'Database %s has been copied to %s'; //to translate
$strSwitchToDatabase = 'Switch to copied database'; //to translate
?>
1 change: 1 addition & 0 deletions lang/brazilian_portuguese-iso-8859-1.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -761,4 +761,5 @@
$strSelectBinaryLog = 'Select binary log to view'; //to translate
$strDBCopy = 'Copy database to'; //to translate
$strCopyDatabaseOK = 'Database %s has been copied to %s'; //to translate
$strSwitchToDatabase = 'Switch to copied database'; //to translate
?>
1 change: 1 addition & 0 deletions lang/brazilian_portuguese-utf-8.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -762,4 +762,5 @@
$strSelectBinaryLog = 'Select binary log to view'; //to translate
$strDBCopy = 'Copy database to'; //to translate
$strCopyDatabaseOK = 'Database %s has been copied to %s'; //to translate
$strSwitchToDatabase = 'Switch to copied database'; //to translate
?>
1 change: 1 addition & 0 deletions lang/bulgarian-koi8-r.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -746,4 +746,5 @@
$strSelectBinaryLog = 'Select binary log to view'; //to translate
$strDBCopy = 'Copy database to'; //to translate
$strCopyDatabaseOK = 'Database %s has been copied to %s'; //to translate
$strSwitchToDatabase = 'Switch to copied database'; //to translate
?>
1 change: 1 addition & 0 deletions lang/bulgarian-utf-8.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -747,4 +747,5 @@
$strSelectBinaryLog = 'Select binary log to view'; //to translate
$strDBCopy = 'Copy database to'; //to translate
$strCopyDatabaseOK = 'Database %s has been copied to %s'; //to translate
$strSwitchToDatabase = 'Switch to copied database'; //to translate
?>
1 change: 1 addition & 0 deletions lang/bulgarian-windows-1251.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -746,4 +746,5 @@
$strSelectBinaryLog = 'Select binary log to view'; //to translate
$strDBCopy = 'Copy database to'; //to translate
$strCopyDatabaseOK = 'Database %s has been copied to %s'; //to translate
$strSwitchToDatabase = 'Switch to copied database'; //to translate
?>
1 change: 1 addition & 0 deletions lang/catalan-iso-8859-1.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -732,4 +732,5 @@
$strSelectBinaryLog = 'Select binary log to view'; //to translate
$strDBCopy = 'Copy database to'; //to translate
$strCopyDatabaseOK = 'Database %s has been copied to %s'; //to translate
$strSwitchToDatabase = 'Switch to copied database'; //to translate
?>
1 change: 1 addition & 0 deletions lang/catalan-utf-8.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -733,4 +733,5 @@
$strSelectBinaryLog = 'Select binary log to view'; //to translate
$strDBCopy = 'Copy database to'; //to translate
$strCopyDatabaseOK = 'Database %s has been copied to %s'; //to translate
$strSwitchToDatabase = 'Switch to copied database'; //to translate
?>
1 change: 1 addition & 0 deletions lang/chinese_simplified-gb2312.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -738,4 +738,5 @@
$strSelectBinaryLog = 'Select binary log to view'; //to translate
$strDBCopy = 'Copy database to'; //to translate
$strCopyDatabaseOK = 'Database %s has been copied to %s'; //to translate
$strSwitchToDatabase = 'Switch to copied database'; //to translate
?>
1 change: 1 addition & 0 deletions lang/chinese_simplified-utf-8.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -739,4 +739,5 @@
$strSelectBinaryLog = 'Select binary log to view'; //to translate
$strDBCopy = 'Copy database to'; //to translate
$strCopyDatabaseOK = 'Database %s has been copied to %s'; //to translate
$strSwitchToDatabase = 'Switch to copied database'; //to translate
?>
1 change: 1 addition & 0 deletions lang/chinese_traditional-big5.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -738,4 +738,5 @@
$strSelectBinaryLog = 'Select binary log to view'; //to translate
$strDBCopy = 'Copy database to'; //to translate
$strCopyDatabaseOK = 'Database %s has been copied to %s'; //to translate
$strSwitchToDatabase = 'Switch to copied database'; //to translate
?>
1 change: 1 addition & 0 deletions lang/chinese_traditional-utf-8.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -742,4 +742,5 @@
$strSelectBinaryLog = 'Select binary log to view'; //to translate
$strDBCopy = 'Copy database to'; //to translate
$strCopyDatabaseOK = 'Database %s has been copied to %s'; //to translate
$strSwitchToDatabase = 'Switch to copied database'; //to translate
?>
1 change: 1 addition & 0 deletions lang/croatian-iso-8859-2.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -760,4 +760,5 @@
$strSelectBinaryLog = 'Select binary log to view'; //to translate
$strDBCopy = 'Copy database to'; //to translate
$strCopyDatabaseOK = 'Database %s has been copied to %s'; //to translate
$strSwitchToDatabase = 'Switch to copied database'; //to translate
?>
1 change: 1 addition & 0 deletions lang/croatian-utf-8.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -761,4 +761,5 @@
$strSelectBinaryLog = 'Select binary log to view'; //to translate
$strDBCopy = 'Copy database to'; //to translate
$strCopyDatabaseOK = 'Database %s has been copied to %s'; //to translate
$strSwitchToDatabase = 'Switch to copied database'; //to translate
?>
1 change: 1 addition & 0 deletions lang/croatian-windows-1250.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -760,4 +760,5 @@
$strSelectBinaryLog = 'Select binary log to view'; //to translate
$strDBCopy = 'Copy database to'; //to translate
$strCopyDatabaseOK = 'Database %s has been copied to %s'; //to translate
$strSwitchToDatabase = 'Switch to copied database'; //to translate
?>
Loading

0 comments on commit f812811

Please sign in to comment.