Worked on the XML export feature.

This commit is contained in:
Alexander M. Turek
2002-05-05 10:26:52 +00:00
parent 61ac77dc6a
commit 13ba848e1e
3 changed files with 6 additions and 2 deletions

View File

@@ -8,6 +8,8 @@ $Source$
2002-05-05 Alexander M. Turek <rabus@users.sourceforge.net>
* db_details_links.php3, tbl_properties_links.php3, lang/*.inc.php3:
Use "SQL" instead of "home" as link name.
* tbl_properties_export.php3: Added XML export option (todo: limit feature).
* tbl_dump.php3: Beautified XML output.
2002-05-04 Lo<4C>c Chapeaux <lolo@phpheaven.net>
* user_details.php3, line 984: do not use "mysql_result" if the query

View File

@@ -307,7 +307,7 @@ else {
}
if ((isset($tmp_select) && strpos(' ' . $tmp_select, '|' . $table . '|'))
|| (!isset($tmp_select) && !empty($table))) {
$dump_buffer .= PMA_getTableXML($db, $table, $crlf, $err_url) . $crlf;
$dump_buffer .= PMA_getTableXML($db, $table, $crlf, $err_url);
}
$i++;
}

View File

@@ -35,7 +35,9 @@ require('./tbl_properties_table_info.php3');
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $strFieldsEscapedBy; ?>&nbsp;
<input type="text" name="escaped" size="2" value="\" class="textfield" />&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $strLinesTerminatedBy; ?>&nbsp;
<input type="text" name="add_character" size="2" value="<?php echo ((PMA_whichCrlf() == "\n") ? '\n' : '\r\n'); ?>" class="textfield" />&nbsp;&nbsp;
<input type="text" name="add_character" size="2" value="<?php echo ((PMA_whichCrlf() == "\n") ? '\n' : '\r\n'); ?>" class="textfield" />&nbsp;&nbsp;<br/>
<input type="radio" name="what" value="xml" id="radio_dump_xml" />
<label for="radio_dump_xml"><?php echo $strExportToXML; ?></label>&nbsp;&nbsp;
</td>
<td valign="middle">
<input type="checkbox" name="drop" value="1" id="checkbox_dump_drop" />