diff --git a/libraries/display_import.lib.php b/libraries/display_import.lib.php index 923d9622d..235db7728 100644 --- a/libraries/display_import.lib.php +++ b/libraries/display_import.lib.php @@ -122,10 +122,25 @@ if ($_SESSION[$SESSION_KEY]["handler"]!="noplugin") { echo ' '."\n"; echo PMA_pluginGetJavascript($import_list); ?> -
- - +
+

File may be compressed (%s) or uncompressed'), implode(", ", $compressions)); + } if ($GLOBALS['is_upload']) { $uid = uniqid(""); @@ -134,13 +149,13 @@ if ($_SESSION[$SESSION_KEY]["handler"]!="noplugin") {
- + - + ?>
' . "\n"; - -// zip, gzip and bzip2 encode features - $compressions = __('None'); - - if ($cfg['GZipDump'] && @function_exists('gzopen')) { - $compressions .= ', gzip'; - } - if ($cfg['BZipDump'] && @function_exists('bzopen')) { - $compressions .= ', bzip2'; - } - if ($cfg['ZipDump'] && @function_exists('zip_open')) { - $compressions .= ', zip'; - } - -// We don't have show anything about compression, when no supported - if ($compressions != __('None')) { - echo '
' . "\n"; - printf(__('Imported file compression will be automatically detected from: %s'), $compressions); - echo '
' . "\n"; - } - echo "\n"; ?> -
-
- + +
+

/> -
+
- +
-
+ -
- - '; - echo PMA_pluginGetChoice('Import', 'format', $import_list); - echo ''; +
+

+ +
- echo '
'; - echo PMA_pluginGetOptions('Import', $import_list); - echo '
'; - ?> +
+

+ +
-
+