Merge remote-tracking branch 'origin/master'
[phpmyadmin.git] / tbl_import.php
blob342e212a8ca88049778879ca5458407349f12119
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * Table import
6 * @package PhpMyAdmin
7 */
8 use PMA\libraries\config\PageSettings;
10 /**
13 require_once 'libraries/common.inc.php';
14 require_once 'libraries/config/user_preferences.forms.php';
15 require_once 'libraries/config/page_settings.forms.php';
17 PageSettings::showGroup('Import');
19 $response = PMA\libraries\Response::getInstance();
20 $header = $response->getHeader();
21 $scripts = $header->getScripts();
22 $scripts->addFile('import.js');
24 /**
25 * Gets tables information and displays top links
27 require_once 'libraries/tbl_common.inc.php';
28 $url_query .= '&amp;goto=tbl_import.php&amp;back=tbl_import.php';
30 require_once 'libraries/tbl_info.inc.php';
32 require 'libraries/display_import.lib.php';
33 $response = PMA\libraries\Response::getInstance();
34 $response->addHTML(
35 PMA_getImportDisplay(
36 'table', $db, $table, $max_upload_size