change tab order in server, db and table menus
[phpmyadmin.git] / server_export.php
blob7b568fd497b9bda70f04bc2298fcfb3e55e9ec4f
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
5 * @package phpMyAdmin
6 */
8 /**
9 * Does the common work
11 require_once './libraries/common.inc.php';
13 /**
14 * Displays the links
16 require './libraries/server_links.inc.php';
18 $export_page_title = __('View dump (schema) of databases') . "\n";
19 $checkall_url = 'server_export.php?'
20 . PMA_generate_common_url()
21 . '&amp;goto=db_export.php';
23 $multi_values = '<div align="center">';
24 $multi_values .= '<a href="' . $checkall_url . '&amp;selectall=1" onclick="setSelectOptions(\'dump\', \'db_select[]\', true); return false;">' . __('Select All') . '</a>
26 <a href="' . $checkall_url . '" onclick="setSelectOptions(\'dump\', \'db_select[]\', false); return false;">' . __('Unselect All') . '</a><br />';
28 $multi_values .= '<select name="db_select[]" size="10" multiple="multiple">';
29 $multi_values .= "\n";
31 foreach ($GLOBALS['pma']->databases as $current_db) {
32 if (!empty($selectall) || (isset($tmp_select) && strpos(' ' . $tmp_select, '|' . $current_db . '|'))) {
33 $is_selected = ' selected="selected"';
34 } else {
35 $is_selected = '';
37 $current_db = htmlspecialchars($current_db);
38 $multi_values .= ' <option value="' . $current_db . '"' . $is_selected . '>' . $current_db . '</option>' . "\n";
39 } // end while
40 $multi_values .= "\n";
41 $multi_values .= '</select></div><br />';
43 $export_type = 'server';
44 require_once './libraries/display_export.lib.php';
47 /**
48 * Displays the footer
50 require './libraries/footer.inc.php';