3 // vim: expandtab sw=4 ts=4 sts=4:
7 * Checks if the left frame has to be reloaded
9 require('./libraries/grab_globals.lib.php3');
13 * Does the common work
15 $js_to_run = 'functions.js';
16 require('./server_common.inc.php3');
22 require('./server_links.inc.php3');
25 * Gets the databases list - if it has not been built yet
27 if ($server > 0 && empty($dblist)) {
28 PMA_availableDatabases();
33 <!-- Dump of a server
-->
35 <?php
echo $strViewDumpDatabases . "\n"; ?
>
39 $multi_values = '<div align="center"><select name="db_select[]" size="6" multiple="multiple">';
40 $multi_values .= "\n";
43 while (list(, $current_db) = each($dblist)) {
44 if (!empty($selectall) ||
(isset($tmp_select) && strpos(' ' . $tmp_select, '|' . $current_db . '|'))) {
45 $is_selected = ' selected="selected"';
49 $current_db = htmlspecialchars($current_db);
50 $multi_values .= ' <option value="' . $current_db . '"' . $is_selected . '>' . $current_db . '</option>' . "\n";
52 $multi_values .= "\n";
53 $multi_values .= '</select></div>';
55 $checkall_url = 'server_export.php3?'
56 . PMA_generate_common_url()
57 . '&goto=db_details_export.php3';
59 $multi_values .= '<br />
60 <a href="' . $checkall_url . '&selectall=1" onclick="setSelectOptions(\'dump\', \'db_select[]\', true); return false;">' . $strSelectAll . '</a>
62 <a href="' . $checkall_url . '" onclick="setSelectOptions(\'dump\', \'db_select[]\', false); return false;">' . $strUnselectAll . '</a>
65 $export_type = 'server';
66 require('./libraries/display_export.lib.php3');
72 require('./footer.inc.php3');