diff --git a/libraries/display_export.lib.php b/libraries/display_export.lib.php new file mode 100644 index 000000000..ae099e034 --- /dev/null +++ b/libraries/display_export.lib.php @@ -0,0 +1,276 @@ + $export_type, 'single_table' => isset($single_table))); + +/* Fail if we didn't find any plugin */ +if (empty($export_list)) { + PMA_Message::error( __('Could not load export plugins, please check your installation!'))->display(); + require './libraries/footer.inc.php'; +} +?> + +
+ +' . "\n"; +} + +echo '' . "\n"; + +if (! empty($sql_query)) { + echo '' . "\n"; +} +echo PMA_pluginGetJavascript($export_list); +?> +
+ + + +
+ +
+
+ + + +
+ +
+ + +
+
+ +
+ +
+ +
+
+ + + +
+ '; + + echo sprintf(__('Dump %s row(s) starting at row # %s'), + '', + ' '); + + echo ''; + echo ''; + ?> +
+ +
+ +
+ + /> + + + + + /> + ,
+ /> + +
+ + + : + + /> + + ( + /> + + ) + +
+ ' + . __('Character set of the file:') . '' . "\n"; + + reset($cfg['AvailableCharsets']); + echo ''; + } // end if + ?> +
+ + +
+ : + /> + + + /> + + + /> + + + /> + + +
+ + + +
+ + + + + + + +
+ + +
+
diff --git a/libraries/display_import.lib.php b/libraries/display_import.lib.php new file mode 100644 index 000000000..e1833bfab --- /dev/null +++ b/libraries/display_import.lib.php @@ -0,0 +1,278 @@ +display(); + require './libraries/footer.inc.php'; +} +?> + + + +
+ ajax clock + +
' . "\n"; + } + ?> +
+ /> +
+
+ + +
+ + +
+ + + + + +
+ + '; + echo PMA_pluginGetChoice('Import', 'format', $import_list); + echo ''; + + echo '
'; + echo PMA_pluginGetOptions('Import', $import_list); + echo '
'; + ?> +
+
+ +
+ +
+ +