Adapt to changes in export.

This commit is contained in:
Michal Čihař
2006-04-26 17:00:46 +00:00
parent 19d0390e8c
commit 04e666ff7c
4 changed files with 5 additions and 3 deletions

View File

@@ -20,6 +20,8 @@ $Source$
* libraries/config.default.php, libraries/display_export.lib.php,
libraries/export/*: Convert export to plugin architecture, so that
plugins are independant piece of code (RFE #1325937).
* db_operations.php, tbl_properties_operations.php,
libraries/Table.class.php: Adapt to changes in export.
2006-04-26 Sebastian Mendel <cybot_tm@users.sourceforge.net>
* themes/*:

View File

@@ -264,7 +264,7 @@ if (!$is_information_schema) {
id="checkbox_auto_increment" style="vertical-align: middle" />
<label for="checkbox_auto_increment">
<?php echo $strAddAutoIncrement; ?></label><br />
<input type="checkbox" name="constraints" value="1"
<input type="checkbox" name="sql_constraints" value="1"
id="checkbox_constraints" style="vertical-align: middle" />
<label for="checkbox_constraints">
<?php echo $strAddConstraints; ?></label><br />

View File

@@ -512,7 +512,7 @@ class PMA_Table {
}
// set export settings we need
$GLOBALS['use_backquotes'] = 1;
$GLOBALS['sql_use_backquotes'] = 1;
$GLOBALS['asfile'] = 1;
// Ensure the target is valid

View File

@@ -364,7 +364,7 @@ foreach ($dblist as $each_db) {
// foreign keys
if (PMA_getForeigners($GLOBALS['db'], $GLOBALS['table'], '', 'innodb')) {
?>
<input type="checkbox" name="constraints" value="1" id="checkbox_constraints" />
<input type="checkbox" name="sql_constraints" value="1" id="checkbox_constraints" />
<label for="checkbox_constraints"><?php echo $strAddConstraints; ?></label><br />
<?php
} // endif