Translated using Weblate (Slovenian)
[phpmyadmin.git] / db_import.php
blob2dccfa94a6b29c90342a24c9380a4cde22809c62
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * Database import page
6 * @package PhpMyAdmin
7 */
9 require_once 'libraries/common.inc.php';
10 require_once 'libraries/config/page_settings.class.php';
12 PMA_PageSettings::showGroup('Import');
14 $response = PMA_Response::getInstance();
15 $header = $response->getHeader();
16 $scripts = $header->getScripts();
17 $scripts->addFile('import.js');
19 /**
20 * Gets tables information and displays top links
22 require 'libraries/db_common.inc.php';
24 list(
25 $tables,
26 $num_tables,
27 $total_num_tables,
28 $sub_part,
29 $is_show_stats,
30 $db_is_system_schema,
31 $tooltip_truename,
32 $tooltip_aliasname,
33 $pos
34 ) = PMA_Util::getDbInfo($db, isset($sub_part) ? $sub_part : '');
36 require 'libraries/display_import.lib.php';
37 $response = PMA_Response::getInstance();
38 $response->addHTML(
39 PMA_getImportDisplay(
40 'database', $db, $table, $max_upload_size