bug #2027102 quotes around lang missing
[phpmyadmin/last10db.git] / transformation_overview.php
blobb0b48ad392d5344eba5aeef20df5b218f29b42c3
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
5 * @version $Id$
6 */
8 /**
9 * Don't display the page heading
11 define('PMA_DISPLAY_HEADING', 0);
13 /**
14 * Gets some core libraries and displays a top message if required
16 require_once './libraries/common.inc.php';
17 require_once './libraries/header.inc.php';
18 require_once './libraries/relation.lib.php';
19 require_once './libraries/transformations.lib.php';
20 $cfgRelation = PMA_getRelationsParam();
22 $types = PMA_getAvailableMIMEtypes();
25 <h2><?php echo $strMIME_available_mime; ?></h2>
26 <?php
27 foreach ($types['mimetype'] as $key => $mimetype) {
29 if (isset($types['empty_mimetype'][$mimetype])) {
30 echo '<i>' . $mimetype . '</i><br />';
31 } else {
32 echo $mimetype . '<br />';
37 <br />
38 <i>(<?php echo $strMIME_without; ?>)</i>
40 <br />
41 <br />
42 <br />
43 <h2><?php echo $strMIME_available_transform; ?></h2>
44 <table border="0" width="90%">
45 <thead>
46 <tr>
47 <th><?php echo $strMIME_transformation; ?></th>
48 <th><?php echo $strMIME_description; ?></th>
49 </tr>
50 </thead>
51 <tbody>
52 <?php
53 $odd_row = true;
54 foreach ($types['transformation'] as $key => $transform) {
55 $func = strtolower(preg_replace('@(\.inc\.php3?)$@i', '', $types['transformation_file'][$key]));
56 $desc = 'strTransformation_' . $func;
58 <tr class="<?php echo $odd_row ? 'odd' : 'even'; ?>">
59 <td><?php echo $transform; ?></td>
60 <td><?php echo (isset($$desc) ? $$desc : '<i>' . sprintf($strMIME_nodescription, 'PMA_transformation_' . $func . '()') . '</i>'); ?></td>
61 </tr>
62 <?php
63 $odd_row = !$odd_row;
66 </tbody>
67 </table>
69 <?php
70 /**
71 * Displays the footer
73 require_once './libraries/footer.inc.php';