diff --git a/ChangeLog b/ChangeLog index 3f18b26a3..64695b954 100644 --- a/ChangeLog +++ b/ChangeLog @@ -67,6 +67,8 @@ $Id$ event, thanks to sutharshan. - [edit] CURRENT_TIMESTAMP is also valid for datetime fields. - patch #2985068 [engines] Fix parsing of PBXT status, thanks to Madhura Jayaratne. +- patch #2986073 [interface] Convert upload progress bar to jQuery, thanks to + Philip Frank. 3.3.3.0 (not yet released) - patch #2982480 [navi] Do not group if there would be one table in group, diff --git a/db_import.php b/db_import.php index d1c824715..bdcd5d698 100644 --- a/db_import.php +++ b/db_import.php @@ -11,11 +11,6 @@ */ require_once './libraries/common.inc.php'; -/** - * Load mootools for upload progress bar - */ -$GLOBALS['js_include'][] = 'mootools-more.js'; - /** * Gets tables informations and displays top links */ diff --git a/import.php b/import.php index 7f06ceb74..32281b68f 100644 --- a/import.php +++ b/import.php @@ -14,7 +14,6 @@ require_once './libraries/common.inc.php'; //require_once './libraries/display_import_functions.lib.php'; $GLOBALS['js_include'][] = 'functions.js'; -$GLOBALS['js_include'][] = 'mootools-more.js'; // reset import messages for ajax request $_SESSION['Import_message']['message'] = null; diff --git a/libraries/display_import.lib.php b/libraries/display_import.lib.php index 11bf9ef6b..c1d94c573 100644 --- a/libraries/display_import.lib.php +++ b/libraries/display_import.lib.php @@ -29,193 +29,191 @@ if (empty($import_list)) {
-ajax clock - -
'; + echo '
'; + echo PMA_pluginGetChoice('Import', 'format', $import_list); + echo '
'; -echo '
'; -echo PMA_pluginGetOptions('Import', $import_list); -echo '
'; -?> + echo '
'; + echo PMA_pluginGetOptions('Import', $import_list); + echo '
'; + ?>
- + if (function_exists('PMA_set_enc_form')) { + echo PMA_set_enc_form(' '); + } + echo "\n"; + ?>
diff --git a/libraries/header_scripts.inc.php b/libraries/header_scripts.inc.php index 55ebe4711..bcb6528b3 100644 --- a/libraries/header_scripts.inc.php +++ b/libraries/header_scripts.inc.php @@ -73,7 +73,6 @@ if (isset($GLOBALS['db'])) { $GLOBALS['js_include'][] = 'messages.php' . PMA_generate_common_url($params); $GLOBALS['js_events'][] = array( - 'object' => 'window', 'event' => 'load', 'function' => 'PMA_TT_init', ); @@ -101,7 +100,7 @@ if (typeof(parent.document) != 'undefined' && typeof(parent.document) != 'unknow diff --git a/server_import.php b/server_import.php index 640665252..d0ec6872f 100644 --- a/server_import.php +++ b/server_import.php @@ -11,12 +11,6 @@ */ require_once './libraries/common.inc.php'; -/** - * Load mootools for upload progress bar - */ -$GLOBALS['js_include'][] = 'mootools-more.js'; - - /** * Does the common work */ diff --git a/tbl_import.php b/tbl_import.php index a1bc3a0dd..a0500fd07 100644 --- a/tbl_import.php +++ b/tbl_import.php @@ -11,11 +11,6 @@ */ require_once './libraries/common.inc.php'; -/** - * Load mootools for upload progress bar - */ -$GLOBALS['js_include'][] = 'mootools-more.js'; - /** * Gets tables informations and displays top links */