3 // vim: expandtab sw=4 ts=4 sts=4:
6 * Don't display the page heading
8 define('PMA_DISPLAY_HEADING', 0);
11 * Gets some core libraries and displays a top message if required
13 require_once('./libraries/common.lib.php');
14 require_once('./libraries/header.inc.php');
15 require_once('./libraries/relation.lib.php');
16 require_once('./libraries/transformations.lib.php');
17 $cfgRelation = PMA_getRelationsParam();
19 $types = PMA_getAvailableMIMEtypes();
22 <h2
><?php
echo $strMIME_available_mime; ?
></h2
>
24 foreach ($types['mimetype'] AS $key => $mimetype) {
26 if (isset($types['empty_mimetype'][$mimetype])) {
27 echo '<i>' . $mimetype . '</i><br />';
29 echo $mimetype . '<br />';
35 <i
>(<?php
echo $strMIME_without; ?
>)</i
>
40 <h2
><?php
echo $strMIME_available_transform; ?
></h2
>
41 <table border
="0" width
="90%">
43 <th
><?php
echo $strMIME_transformation; ?
></th
>
44 <th
><?php
echo $strMIME_description; ?
></th
>
50 foreach ($types['transformation'] AS $key => $transform) {
52 $func = strtolower(preg_replace('@(\.inc\.php3?)$@i', '', $types['transformation_file'][$key]));
53 $desc = 'strTransformation_' . $func;
55 <tr bgcolor
="<?php echo ($i % 2 ? $cfg['BgcolorOne'] : $cfg['BgcolorTwo']); ?>">
56 <td
><?php
echo $transform; ?
></td
>
57 <td
><?php
echo (isset($
$desc) ? $
$desc : '<font size="-1"><i>' . sprintf($strMIME_nodescription, 'PMA_transformation_' . $func . '()') . '</i></font>'); ?
></td
>
68 require_once('./libraries/footer.inc.php');