2 /* vim: set expandtab sw=4 ts=4 sts=4: */
4 * Lists available transformation plugins
10 * Gets some core libraries and displays a top message if required
12 require_once './libraries/common.inc.php';
13 require_once './libraries/transformations.lib.php';
15 $response = PMA_Response
::getInstance();
16 $header = $response->getHeader();
17 $header->disableMenu();
19 $types = PMA_getAvailableMIMEtypes();
22 <h2
><?php
echo __('Available MIME types'); ?
></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 <h2
><?php
echo __('Available transformations'); ?
></h2
>
39 <th
><?php
echo __('Browser transformation'); ?
></th
>
40 <th
><?php
echo _pgettext('for MIME transformation', 'Description'); ?
></th
>
46 foreach ($types['transformation'] as $key => $transform) {
47 $desc = PMA_getTransformationDescription($types['transformation_file'][$key]);
49 <tr
class="<?php echo $odd_row ? 'odd' : 'even'; ?>">
50 <td
><?php
echo $transform; ?
></td
>
51 <td
><?php
echo $desc; ?
></td
>