diff --git a/db_operations.php b/db_operations.php
index 2683a9c864..50f9160970 100644
--- a/db_operations.php
+++ b/db_operations.php
@@ -416,7 +416,7 @@ if (!$is_information_schema) {
/**
* database comment
*/
- $response->addHTML(PMA_getHtmlForDatabaseComment());
+ echo PMA_getHtmlForDatabaseComment();
}
?>
@@ -427,7 +427,7 @@ if (!$is_information_schema) {
* rename database
*/
if ($db != 'mysql') {
- $response->addHTML(PMA_getHtmlForRenameDatabase());
+ echo PMA_getHtmlForRenameDatabase();
}
// Drop link if allowed
@@ -437,82 +437,12 @@ if (($is_superuser || $GLOBALS['cfg']['AllowUserDropDatabase'])
&& ! $db_is_information_schema
&& (PMA_DRIZZLE || $db != 'mysql')
) {
- $response->addHTML(PMA_getHtmlForDropDatabaseLink());
+ echo PMA_getHtmlForDropDatabaseLink();
}
/**
* Copy database
*/
-?>
-
-
-
- __('Structure only'),
+ 'data' => __('Structure and data'),
+ 'dataonly' => __('Data only')
+ );
+
+ if (isset($_COOKIE)
+ && isset($_COOKIE['pma_switch_to_new'])
+ && $_COOKIE['pma_switch_to_new'] == 'true'
+ ) {
+ $pma_switch_to_new = 'true';
+ }
+
+ $html_output = '
';
+ $html_output .= ''
+ . '
';
+
+ return $html_output;
+}
?>