Translated using Weblate (Interlingua)
[phpmyadmin.git] / server_export.php
blob13337b49985a2e9783f8742ce4c03fd9dd3f7181
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 PMA\libraries\config\PageSettings;
9 use PMA\libraries\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