2 /* vim: set expandtab sw=4 ts=4 sts=4: */
9 * Gets some core libraries and displays a top message if required
11 require_once './libraries/common.inc.php';
12 require_once './libraries/transformations.lib.php';
14 $response = PMA_Response
::getInstance();
15 $header = $response->getHeader();
16 $header->disableMenu();
18 $types = PMA_getAvailableMIMEtypes();
21 <h2
><?php
echo __('Available MIME types'); ?
></h2
>
23 foreach ($types['mimetype'] as $key => $mimetype) {
25 if (isset($types['empty_mimetype'][$mimetype])) {
26 echo '<i>' . $mimetype . '</i><br />';
28 echo $mimetype . '<br />';
34 <h2
><?php
echo __('Available transformations'); ?
></h2
>
38 <th
><?php
echo __('Browser transformation'); ?
></th
>
39 <th
><?php
echo _pgettext('for MIME transformation', 'Description'); ?
></th
>
45 foreach ($types['transformation'] as $key => $transform) {
46 $desc = PMA_getTransformationDescription($types['transformation_file'][$key]);
48 <tr
class="<?php echo $odd_row ? 'odd' : 'even'; ?>">
49 <td
><?php
echo $transform; ?
></td
>
50 <td
><?php
echo $desc; ?
></td
>