Documentation TYPO3 par Ameos

server_export.php

00001 <?php
00002 /* $Id: server_export.php,v 2.4 2004/06/13 21:32:16 lem9 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 <?php 
00035 $export_page_title = $strViewDumpDatabases . "\n";
00036 $multi_values = '<div align="center"><select name="db_select[]" size="6" multiple="multiple">';
00037 $multi_values .= "\n";
00038 
00039 foreach ($dblist AS $current_db) {
00040     if (!empty($selectall) || (isset($tmp_select) && strpos(' ' . $tmp_select, '|' . $current_db . '|'))) {
00041         $is_selected = ' selected="selected"';
00042     } else {
00043         $is_selected = '';
00044     }
00045     $current_db   = htmlspecialchars($current_db);
00046     $multi_values .= '                <option value="' . $current_db . '"' . $is_selected . '>' . $current_db . '</option>' . "\n";
00047 } // end while
00048 $multi_values .= "\n";
00049 $multi_values .= '</select></div>';
00050 
00051 $checkall_url = 'server_export.php?'
00052               . PMA_generate_common_url()
00053               . '&amp;goto=db_details_export.php';
00054 
00055 $multi_values .= '<br />
00056         <a href="' . $checkall_url . '&amp;selectall=1" onclick="setSelectOptions(\'dump\', \'db_select[]\', true); return false;">' . $strSelectAll . '</a>
00057         &nbsp;/&nbsp;
00058         <a href="' . $checkall_url . '" onclick="setSelectOptions(\'dump\', \'db_select[]\', false); return false;">' . $strUnselectAll . '</a>
00059         <br /><br />';
00060 
00061 $export_type = 'server';
00062 require_once('./libraries/display_export.lib.php');
00063 
00064 
00068 require_once('./footer.inc.php');
00069 ?>


Généré par Les spécialistes TYPO3 avec  doxygen 1.4.6