Documentation TYPO3 par Ameos |
00001 <?php 00002 /* $Id: db_details_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 $sub_part = '_export'; 00010 require('./db_details_common.php'); 00011 $url_query .= '&goto=db_details_export.php'; 00012 require('./db_details_db_info.php'); 00013 00017 ?> 00018 <h2> 00019 <?php echo $strViewDumpDB . "\n"; ?> 00020 </h2> 00021 00022 <?php 00023 $multi_values = ''; 00024 if ($num_tables > 1) { 00025 00026 $multi_values = '<div align="center"><select name="table_select[]" size="6" multiple="multiple">'; 00027 $multi_values .= "\n"; 00028 00029 $i = 0; 00030 while ($i < $num_tables) { 00031 $table = $tables[$i]['Name']; 00032 if (!empty($selectall) || (isset($tmp_select) && strpos(' ' . $tmp_select, '|' . $table . '|'))) { 00033 $is_selected = ' selected="selected"'; 00034 } else { 00035 $is_selected = ''; 00036 } 00037 $table = htmlspecialchars($table); 00038 $multi_values .= ' <option value="' . $table . '"' . $is_selected . '>' . $table . '</option>' . "\n"; 00039 $i++; 00040 } // end while 00041 $multi_values .= "\n"; 00042 $multi_values .= '</select></div>'; 00043 00044 $checkall_url = 'db_details_export.php?' 00045 . PMA_generate_common_url($db) 00046 . '&goto=db_details_export.php'; 00047 00048 $multi_values .= '<br /> 00049 <a href="' . $checkall_url . '&selectall=1" onclick="setSelectOptions(\'dump\', \'table_select[]\', true); return false;">' . $strSelectAll . '</a> 00050 / 00051 <a href="' . $checkall_url . '" onclick="setSelectOptions(\'dump\', \'table_select[]\', false); return false;">' . $strUnselectAll . '</a> 00052 <br /><br />'; 00053 } elseif ($num_tables == 0) { 00054 echo $strDatabaseNoTable; 00055 require_once('./footer.inc.php'); 00056 } // end if 00057 00058 $export_type = 'database'; 00059 require_once('./libraries/display_export.lib.php'); 00060 00064 require_once('./footer.inc.php'); 00065 ?>