[ Index ]

PHP Cross Reference of Mambo 4.6.5

[ Variables ]     [ Functions ]     [ Classes ]     [ Constants ]     [ Statistics ]

title

Body

[close]

/administrator/components/com_languages/views/templates/ -> table.tpl.php (source)

   1  <?php 
   2  /**
   3  * @package Mambo
   4  * @subpackage Languages
   5  * @author Mambo Foundation Inc see README.php
   6  * @copyright (C) 2000 - 2009 Mambo Foundation Inc.
   7  * See COPYRIGHT.php for copyright notices and details.
   8  * @license GNU/GPL Version 2, see LICENSE.php
   9  *
  10  * Redistributions of files must retain the above copyright notice.
  11  *
  12  * Mambo is free software; you can redistribute it and/or
  13  * modify it under the terms of the GNU General Public License
  14  * as published by the Free Software Foundation; version 2 of the License.
  15  */
  16  
  17  defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); ?>
  18  <table class="adminheading">
  19      <tr>
  20          <th class="langmanager">
  21          <?php echo T_('Language Manager') ?>
  22          </th>
  23          <td style="white-space: nowrap;text-align:right">
  24          <?php echo mosCurrentDate();?>               
  25          </td>
  26      </tr>
  27  </table>
  28  <table class="adminlist">
  29  <tr>
  30      <th width="30">&nbsp;
  31      
  32      </th>
  33      <th width="25%" class="title">
  34      <?php echo T_('Languages') ?>
  35      </th>
  36      <th width="5%">
  37      <?php echo T_('Default') ?>
  38      </th>
  39      <th width="10%">
  40      <?php echo T_('Version') ?>
  41      </th>
  42      <th width="10%">
  43      <?php echo T_('Date') ?>
  44      </th>
  45      <th width="20%">
  46      <?php echo T_('Author') ?>
  47      </th>
  48      <th width="25%">
  49      <?php echo T_('Author Email') ?>
  50      </th>
  51  </tr>    
  52  <?php for ($i=0, $n=count( $rows ); $i < $n; $i++) :  $row = $rows[$i];?>
  53      <tr class="<?php echo "row$i"; ?>">            
  54          <td width="20">
  55          <input type="radio" id="cb<?php echo $i;?>" name="lang[]" value="<?php echo $row->language; ?>" onClick="isChecked(this.checked);" />
  56          </td>
  57          <td width="25%">
  58          <a href="#" onclick="hideMainMenu();return listItemTask('cb<?php echo $i;?>','edit')"><?php echo $row->name;?></a></td>
  59          <td width="5%" align="center">            
  60          <a href="javascript: void(0);" onClick="return listItemTask('cb<?php echo $i;?>','publish')">
  61          <img src="images/<?php echo ( $row->published ) ? 'tick.png' : 'publish_x.png';?>" width="12" height="12" border="0" alt="<?php echo ( $row->published ) ? T_('Yes') : T_('No');?>" />
  62          </a>
  63          </td>
  64          <td align=center>
  65          <?php echo $row->version; ?>
  66          </td>
  67          <td align=center>
  68          <?php echo $row->creationdate; ?>
  69          </td>
  70          <td align=center>
  71          <?php echo $row->author; ?>
  72          </td>
  73          <td align=center>
  74          <?php echo $row->authorEmail; ?>
  75          </td>
  76      </tr>
  77  <?php endfor; ?>
  78  </table>