getHeader(); $scripts = $header->getScripts(); $scripts->addFile('export.js'); // $sub_part is used in Util::getDbInfo() to see if we are coming from // db_export.php, in which case we don't obey $cfg['MaxTableList'] $sub_part = '_export'; require_once 'libraries/db_common.inc.php'; $url_query .= '&goto=db_export.php'; list( $tables, $num_tables, $total_num_tables, $sub_part, $is_show_stats, $db_is_system_schema, $tooltip_truename, $tooltip_aliasname, $pos ) = Util::getDbInfo($db, isset($sub_part) ? $sub_part : ''); /** * Displays the form */ $export_page_title = __('View dump (schema) of database'); // exit if no tables in db found if ($num_tables < 1) { $response->addHTML( Message::error(__('No tables found in database.'))->getDisplay() ); exit; } // end if $multi_values = '
' . ' | ' . __('Tables') . ' | ' . '' . __('Structure') . ' | ' . '' . __('Data') . ' | ' . '
---|---|---|---|
' . ' | ' . __('Select all') . ' | ' . '' . ' | ' . '' . ' | ' . '
'; $multi_values .= ' | ' . str_replace(' ', ' ', $table_html) . ' | '; $multi_values .= '' . ' | '; $multi_values .= '' . ' | '; $multi_values .= '