From 1ce64c9f32c10c2c2ba1b311c0eea1ecbc3c18f4 Mon Sep 17 00:00:00 2001 From: "Alexander M. Turek" Date: Fri, 11 Jul 2003 16:14:12 +0000 Subject: [PATCH] Disabled XML export for multiple databases because an XML file must not contain more than one database. --- ChangeLog | 2 ++ libraries/display_export.lib.php3 | 46 ++++++++++++++++--------------- 2 files changed, 26 insertions(+), 22 deletions(-) diff --git a/ChangeLog b/ChangeLog index 574268894..711da6608 100755 --- a/ChangeLog +++ b/ChangeLog @@ -14,6 +14,8 @@ $Source$ - Display CREATE DATABASE query; - Call user-defined default tab instead of hardcoded db_details.php3. * index.php3: Don't display scrollbars in queryframe (Opera fix). + * libraries/display_export.lib.php3: Disabled XML export for multiple + databases because an XML file must not contain more than one database. 2003-07-10 Garvin Hicking * libraries/display_tbl.lib.php3: Let the default function take diff --git a/libraries/display_export.lib.php3 b/libraries/display_export.lib.php3 index 7eeca3405..a0cfe83c9 100644 --- a/libraries/display_export.lib.php3 +++ b/libraries/display_export.lib.php3 @@ -2,7 +2,7 @@ /* $Id$ */ // vim: expandtab sw=4 ts=4 sts=4: -// Get relations & co. status +// Get relations & co. status require('./libraries/relation.lib.php3'); $cfgRelation = PMA_getRelationsParam(); @@ -20,7 +20,7 @@ function PMA_exportIsActive($what, $val) { ?>
- - + /> @@ -88,16 +88,18 @@ if (isset($sql_query)) { /> +

/>    + - +
@@ -139,21 +141,21 @@ if (PMA_MYSQL_INT_VERSION >= 32306) { ?>
- />
/>
/> @@ -178,11 +180,11 @@ if ($cfgRelation['mimework']) {
- +
- +
@@ -197,14 +199,14 @@ if (!empty($cfgRelation['relation'])) {
/>
/> @@ -214,7 +216,7 @@ if ($cfgRelation['mimework']) { ?>
- +
@@ -235,7 +237,7 @@ if ($cfgRelation['mimework']) {
- +
@@ -285,7 +287,7 @@ if ($cfgRelation['mimework']) { />
- +
@@ -301,7 +303,7 @@ if ($cfgRelation['mimework']) {
- +
@@ -358,7 +360,7 @@ if (isset($table) && !empty($table) && !isset($num_tables)) { /> - + /> , @@ -366,10 +368,10 @@ if (isset($table) && !empty($table) && !isset($num_tables)) {
- +  : ', '') . "\n"; ?> - +