Translated using Weblate (Indonesian)
[phpmyadmin.git] / server_export.php
blobdd4babb7774a7388a20b64a3e1993d3d6dbde42d
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * object the server export page
6 * @package PhpMyAdmin
7 */
8 use PhpMyAdmin\Config\PageSettings;
9 use PhpMyAdmin\Response;
11 /**
12 * Does the common work
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';
17 require_once 'libraries/server_common.inc.php';
18 require_once 'libraries/display_export.lib.php';
20 PageSettings::showGroup('Export');
22 $response = Response::getInstance();
23 $header = $response->getHeader();
24 $scripts = $header->getScripts();
25 $scripts->addFile('export.js');
27 $export_page_title = __('View dump (schema) of databases') . "\n";
29 $select_item = isset($tmp_select)? $tmp_select : '';
30 $multi_values = PMA_getHtmlForExportSelectOptions($select_item);
32 require_once 'libraries/display_export.lib.php';
34 if (! isset($sql_query)) {
35 $sql_query = '';
37 if (! isset($num_tables)) {
38 $num_tables = 0;
40 if (! isset($unlim_num_rows)) {
41 $unlim_num_rows = 0;
43 $response = Response::getInstance();
44 $response->addHTML(
45 PMA_getExportDisplay(
46 'server', $db, $table, $sql_query, $num_tables,
47 $unlim_num_rows, $multi_values