Disabled XML export for multiple databases because an XML file must not contain more than one database.

This commit is contained in:
Alexander M. Turek
2003-07-11 16:14:12 +00:00
parent eedbf30782
commit 1ce64c9f32
2 changed files with 26 additions and 22 deletions

View File

@@ -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 <me@supergarv.de>
* libraries/display_tbl.lib.php3: Let the default function take

View File

@@ -88,11 +88,13 @@ if (isset($sql_query)) {
<!-- General CSV -->
<input type="radio" name="what" value="csv" id="radio_dump_csv" onclick="if(this.checked) { hide_them_all(); getElement('csv_options').style.display = 'block'; }; return true" <?php PMA_exportIsActive('format', 'csv'); ?> />
<label for="radio_dump_csv"><?php echo $strStrucCSV;?></label>
<?php if (!empty($db)) { ?>
<br /><br />
<!-- XML -->
<input type="radio" name="what" value="xml" id="radio_dump_xml" onclick="if(this.checked) { hide_them_all(); getElement('none_options').style.display = 'block'; }; return true" <?php PMA_exportIsActive('format', 'xml'); ?> />
<label for="radio_dump_xml"><?php echo $strXML; ?></label>&nbsp;&nbsp;
<?php } ?>
</fieldset>
</td>
<!-- Options -->