Upgraded phpmyadmin to 4.0.4 (All Languages) - No modifications yet
[openemr.git] / phpmyadmin / transformation_overview.php
blobd47c5e8c842f494b60e543f3172b2b3a4c4ddd20
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
5 * @package PhpMyAdmin
6 */
8 /**
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>
22 <?php
23 foreach ($types['mimetype'] as $key => $mimetype) {
25 if (isset($types['empty_mimetype'][$mimetype])) {
26 echo '<i>' . $mimetype . '</i><br />';
27 } else {
28 echo $mimetype . '<br />';
33 <br />
34 <h2><?php echo __('Available transformations'); ?></h2>
35 <table width="90%">
36 <thead>
37 <tr>
38 <th><?php echo __('Browser transformation'); ?></th>
39 <th><?php echo _pgettext('for MIME transformation', 'Description'); ?></th>
40 </tr>
41 </thead>
42 <tbody>
43 <?php
44 $odd_row = true;
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>
51 </tr>
52 <?php
53 $odd_row = !$odd_row;
56 </tbody>
57 </table>