Support displaying in UTC (RFE #1440386).
[phpmyadmin/last10db.git] / transformation_overview.php
blob6012cab17c936bf6cce60a9367c4a806d548270b
1 <?php
2 /* $Id$ */
3 // vim: expandtab sw=4 ts=4 sts=4:
5 /**
6 * Don't display the page heading
7 */
8 define('PMA_DISPLAY_HEADING', 0);
10 /**
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>
23 <?php
24 foreach ($types['mimetype'] as $key => $mimetype) {
26 if (isset($types['empty_mimetype'][$mimetype])) {
27 echo '<i>' . $mimetype . '</i><br />';
28 } else {
29 echo $mimetype . '<br />';
34 <br />
35 <i>(<?php echo $strMIME_without; ?>)</i>
37 <br />
38 <br />
39 <br />
40 <h2><?php echo $strMIME_available_transform; ?></h2>
41 <table border="0" width="90%">
42 <thead>
43 <tr>
44 <th><?php echo $strMIME_transformation; ?></th>
45 <th><?php echo $strMIME_description; ?></th>
46 </tr>
47 </thead>
48 <tbody>
49 <?php
50 $odd_row = true;
51 foreach ($types['transformation'] as $key => $transform) {
52 $func = strtolower(preg_replace('@(\.inc\.php3?)$@i', '', $types['transformation_file'][$key]));
53 $desc = 'strTransformation_' . $func;
55 <tr class="<?php echo $odd_row ? 'odd' : 'even'; ?>">
56 <td><?php echo $transform; ?></td>
57 <td><?php echo (isset($$desc) ? $$desc : '<i>' . sprintf($strMIME_nodescription, 'PMA_transformation_' . $func . '()') . '</i>'); ?></td>
58 </tr>
59 <?php
60 $odd_row = !$odd_row;
63 </tbody>
64 </table>
66 <?php
67 /**
68 * Displays the footer
70 require_once './libraries/footer.inc.php';