make use of PMA_Message

This commit is contained in:
Sebastian Mendel
2007-10-16 12:14:19 +00:00
parent 86acb749a4
commit 107fc46ad9
14 changed files with 103 additions and 91 deletions

View File

@@ -49,9 +49,9 @@ if (PMA_isValid($_REQUEST['new_name'])) {
$message = PMA_Message::success('strCopyTableOK');
}
$old = PMA_backquote($db) . '.' . PMA_backquote($table);
$message->addParam(htmlspecialchars($old));
$message->addParam($old);
$new = PMA_backquote($_REQUEST['target_db']) . '.' . PMA_backquote($_REQUEST['new_name']);
$message->addParam(htmlspecialchars($new));
$message->addParam($new);
/* Check: Work on new table or on old table? */
if (isset($_REQUEST['submit_move']) || PMA_isValid($_REQUEST['switch_to_new'])) {