Merge branch 'QA_4_7'
[phpmyadmin.git] / tbl_import.php
blob03c7adb056bef6ca8e86582f974b85d138158b26
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * Table import
6 * @package PhpMyAdmin
7 */
8 use PhpMyAdmin\Config\PageSettings;
9 use PhpMyAdmin\Response;
11 /**
14 require_once 'libraries/common.inc.php';
15 require_once 'libraries/config/user_preferences.forms.php';
16 require_once 'libraries/config/page_settings.forms.php';
18 PageSettings::showGroup('Import');
20 $response = Response::getInstance();
21 $header = $response->getHeader();
22 $scripts = $header->getScripts();
23 $scripts->addFile('import.js');
25 /**
26 * Gets tables information and displays top links
28 require_once 'libraries/tbl_common.inc.php';
29 $url_query .= '&amp;goto=tbl_import.php&amp;back=tbl_import.php';
31 require 'libraries/display_import.lib.php';
32 $response->addHTML(
33 PMA_getImportDisplay(
34 'table', $db, $table, $max_upload_size