Fixed descriptions of geometry types - these are column types, not OpenGIS objects
[phpmyadmin.git] / transformation_overview.php
blobae80a506e857aa206a8136dbbae3e110b88104a7
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
5 * @package PhpMyAdmin
6 */
8 /**
9 * Don't display the page heading
10 * @ignore
12 define('PMA_DISPLAY_HEADING', 0);
14 /**
15 * Gets some core libraries and displays a top message if required
17 require_once './libraries/common.inc.php';
18 require_once './libraries/header.inc.php';
19 require_once './libraries/transformations.lib.php';
21 $types = PMA_getAvailableMIMEtypes();
24 <h2><?php echo __('Available MIME types'); ?></h2>
25 <?php
26 foreach ($types['mimetype'] as $key => $mimetype) {
28 if (isset($types['empty_mimetype'][$mimetype])) {
29 echo '<i>' . $mimetype . '</i><br />';
30 } else {
31 echo $mimetype . '<br />';
36 <br />
37 <i>(<?php echo __('MIME types printed in italics do not have a separate transformation function'); ?>)</i>
39 <br />
40 <br />
41 <br />
42 <h2><?php echo __('Available transformations'); ?></h2>
43 <table width="90%">
44 <thead>
45 <tr>
46 <th><?php echo __('Browser transformation'); ?></th>
47 <th><?php echo _pgettext('for MIME transformation', 'Description'); ?></th>
48 </tr>
49 </thead>
50 <tbody>
51 <?php
52 $odd_row = true;
53 foreach ($types['transformation'] as $key => $transform) {
54 $desc = PMA_getTransformationDescription($types['transformation_file'][$key]);
56 <tr class="<?php echo $odd_row ? 'odd' : 'even'; ?>">
57 <td><?php echo $transform; ?></td>
58 <td><?php echo $desc; ?></td>
59 </tr>
60 <?php
61 $odd_row = !$odd_row;
64 </tbody>
65 </table>
67 <?php
68 /**
69 * Displays the footer
71 require './libraries/footer.inc.php';