Documentation TYPO3 par Ameos

server_export.php

00001 <?php
00002 /* $Id: server_export.php,v 2.2 2003/11/26 22:52:24 rabus Exp $ */
00003 // vim: expandtab sw=4 ts=4 sts=4:
00004 
00005 
00009 require_once('./libraries/grab_globals.lib.php');
00010 
00011 
00015 $js_to_run = 'functions.js';
00016 require('./server_common.inc.php');
00017 
00018 
00022 require('./server_links.inc.php');
00023 
00027 if ($server > 0 && empty($dblist)) {
00028     PMA_availableDatabases();
00029 }
00030 ?>
00031 
00032 
00033 <!-- Dump of a server -->
00034 <h2>
00035     <?php echo $strViewDumpDatabases . "\n"; ?>
00036 </h2>
00037 
00038 <?php
00039 $multi_values = '<div align="center"><select name="db_select[]" size="6" multiple="multiple">';
00040 $multi_values .= "\n";
00041 
00042 foreach($dblist AS $current_db) {
00043     if (!empty($selectall) || (isset($tmp_select) && strpos(' ' . $tmp_select, '|' . $current_db . '|'))) {
00044         $is_selected = ' selected="selected"';
00045     } else {
00046         $is_selected = '';
00047     }
00048     $current_db   = htmlspecialchars($current_db);
00049     $multi_values .= '                <option value="' . $current_db . '"' . $is_selected . '>' . $current_db . '</option>' . "\n";
00050 } // end while
00051 $multi_values .= "\n";
00052 $multi_values .= '</select></div>';
00053 
00054 $checkall_url = 'server_export.php?'
00055               . PMA_generate_common_url()
00056               . '&amp;goto=db_details_export.php';
00057 
00058 $multi_values .= '<br />
00059         <a href="' . $checkall_url . '&amp;selectall=1" onclick="setSelectOptions(\'dump\', \'db_select[]\', true); return false;">' . $strSelectAll . '</a>
00060         &nbsp;/&nbsp;
00061         <a href="' . $checkall_url . '" onclick="setSelectOptions(\'dump\', \'db_select[]\', false); return false;">' . $strUnselectAll . '</a>
00062         <br /><br />';
00063 
00064 $export_type = 'server';
00065 require_once('./libraries/display_export.lib.php');
00066 
00067 
00071 require_once('./footer.inc.php');
00072 ?>


Généré par L'expert TYPO3 avec  doxygen 1.4.6