3 // vim: expandtab sw=4 ts=4 sts=4:
7 * Gets some core libraries
10 require('./db_details_common.php3');
11 $url_query .= '&goto=db_details_export.php3';
12 require('./db_details_db_info.php3');
19 <?php
echo $strViewDumpDB . "\n"; ?
>
24 if ($num_tables > 1) {
26 $multi_values = '<div align="center"><select name="table_select[]" size="6" multiple="multiple">';
27 $multi_values .= "\n";
30 while ($i < $num_tables) {
31 $table = (PMA_MYSQL_INT_VERSION
>= 32303) ?
$tables[$i]['Name'] : $tables[$i];
32 if (!empty($selectall) ||
(isset($tmp_select) && strpos(' ' . $tmp_select, '|' . $table . '|'))) {
33 $is_selected = ' selected="selected"';
37 $table = htmlspecialchars($table);
38 $multi_values .= ' <option value="' . $table . '"' . $is_selected . '>' . $table . '</option>' . "\n";
41 $multi_values .= "\n";
42 $multi_values .= '</select></div>';
44 $checkall_url = 'db_details_export.php3?'
45 . PMA_generate_common_url($db)
46 . '&goto=db_details_export.php3';
48 $multi_values .= '<br />
49 <a href="' . $checkall_url . '&selectall=1" onclick="setSelectOptions(\'dump\', \'table_select[]\', true); return false;">' . $strSelectAll . '</a>
51 <a href="' . $checkall_url . '" onclick="setSelectOptions(\'dump\', \'table_select[]\', false); return false;">' . $strUnselectAll . '</a>
53 } elseif ($num_tables == 0) {
54 echo $strDatabaseNoTable;
55 include('./footer.inc.php3');
59 $export_type = 'database';
60 require('./libraries/display_export.lib.php3');
65 require('./footer.inc.php3');