Documentation TYPO3 par Ameos |
00001 <?php 00002 /* $Id: overview.php,v 2.3 2003/11/26 22:52:24 rabus Exp $ */ 00003 // vim: expandtab sw=4 ts=4 sts=4: 00004 00008 chdir('../../'); 00009 define('PMA_PATH_TO_BASEDIR', '../../'); // rabus: required for the CSS link tag. 00010 00014 define('PMA_DISPLAY_HEADING', 0); 00015 00019 require_once('./libraries/grab_globals.lib.php'); 00020 require_once('./libraries/common.lib.php'); 00021 require_once('./header.inc.php'); 00022 require_once('./libraries/relation.lib.php'); 00023 require_once('./libraries/transformations.lib.php'); 00024 $cfgRelation = PMA_getRelationsParam(); 00025 00026 $types = PMA_getAvailableMIMEtypes(); 00027 ?> 00028 00029 <h2><?php echo $strMIME_available_mime; ?></h2> 00030 <?php 00031 foreach($types['mimetype'] AS $key => $mimetype) { 00032 00033 if (isset($types['empty_mimetype'][$mimetype])) { 00034 echo '<i>' . $mimetype . '</i><br />'; 00035 } else { 00036 echo $mimetype . '<br />'; 00037 } 00038 00039 } 00040 ?> 00041 <br /> 00042 <i>(<?php echo $strMIME_without; ?>)</i> 00043 00044 <br /> 00045 <br /> 00046 <br /> 00047 <h2><?php echo $strMIME_available_transform; ?></h2> 00048 <table border="0" width="90%"> 00049 <tr> 00050 <th><?php echo $strMIME_transformation; ?></th> 00051 <th><?php echo $strMIME_description; ?></th> 00052 </tr> 00053 00054 <?php 00055 @reset($types); 00056 $i = 0; 00057 foreach($types['transformation'] AS $key => $transform) { 00058 $i++; 00059 $func = strtolower(preg_replace('@(\.inc\.php3?)$@i', '', $types['transformation_file'][$key])); 00060 $desc = 'strTransformation_' . $func; 00061 ?> 00062 <tr bgcolor="<?php echo ($i % 2 ? $cfg['BgcolorOne'] : $cfg['BgcolorTwo']); ?>"> 00063 <td><?php echo $transform; ?></td> 00064 <td><?php echo (isset($$desc) ? $$desc : '<font size="-1"><i>' . sprintf($strMIME_nodescription, 'PMA_transformation_' . $func . '()') . '</i></font>'); ?></td> 00065 </tr> 00066 <?php 00067 } 00068 ?> 00069 00070 <?php 00074 echo "\n"; 00075 require_once('./footer.inc.php'); 00076 00077 ?>