[ PHPXref.com ] [ Generated: Sun Jul 20 19:46:00 2008 ] [ phpMyAdmin 2.9.0.3 ]
[ Index ]     [ Variables ]     [ Functions ]     [ Classes ]     [ Constants ]     [ Statistics ]

title

Body

[close]

/ -> transformation_overview.php (source)

   1  <?php
   2  /* $Id: transformation_overview.php 8941 2006-04-25 15:21:33Z cybot_tm $ */
   3  // vim: expandtab sw=4 ts=4 sts=4:
   4  
   5  /**
   6   * Don't display the page heading
   7   */
   8  define('PMA_DISPLAY_HEADING', 0);
   9  
  10  /**
  11   * Gets some core libraries and displays a top message if required
  12   */
  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();
  18  
  19  $types = PMA_getAvailableMIMEtypes();
  20  ?>
  21  
  22  <h2><?php echo $strMIME_available_mime; ?></h2>
  23  <?php
  24  foreach ($types['mimetype'] as $key => $mimetype) {
  25  
  26      if (isset($types['empty_mimetype'][$mimetype])) {
  27          echo '<i>' . $mimetype . '</i><br />';
  28      } else {
  29          echo $mimetype . '<br />';
  30      }
  31  
  32  }
  33  ?>
  34  <br />
  35  <i>(<?php echo $strMIME_without; ?>)</i>
  36  
  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;
  54      ?>
  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;
  61  }
  62  ?>
  63  </tbody>
  64  </table>
  65  
  66  <?php
  67  /**
  68   * Displays the footer
  69   */
  70  require_once  './libraries/footer.inc.php';
  71  ?>


[ Powered by PHPXref - Served by Debian GNU/Linux ]