- md5
- 68a590109c424fedcb5e79c50e8bc6bf
- sha1
- 261e143a6f95cba38c74875f7220901f380b73b5
- sha256
- 2fb130a906b1bb9951e54405d248e6ae466c37c971009290ef2b69ef54a7f150
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
<?php
/**
* @version $Id: default.php 21529 2011-06-11 22:17:15Z chdemko $
* @package Joomla.Administrator
* @subpackage com_languages
* @copyright Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
// Add specific helper files for html generation
JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html');
$user = JFactory::getUser();
$userId = $user->get('id');
$client = $this->state->get('filter.client_id', 0) ? JText::_('JADMINISTRATOR') : JText::_('JSITE');
$clientId = $this->state->get('filter.client_id', 0);
?>
<form action="<?php echo JRoute::_('index.php?option=com_languages&view=installed&client='.$clientId); ?>" method="post" id="adminForm" name="adminForm">
<?php if ($this->ftp): ?>
<?php echo $this->loadTemplate('ftp');?>
<?php endif; ?>
<table class="adminlist">
<thead>
<tr>
<th width="20">
<?php echo JText::_('COM_LANGUAGES_HEADING_NUM'); ?>
</th>
<th width="20">
 
</th>
<th width="25%" class="title">
<?php echo JText::_('COM_LANGUAGES_HEADING_LANGUAGE'); ?>
</th>
<th>
<?php echo JText::_('JCLIENT'); ?>
</th>
<th>
<?php echo JText::_('COM_LANGUAGES_HEADING_DEFAULT'); ?>
</th>
<th>
<?php echo JText::_('JVERSION'); ?>
</th>
<th>
<?php echo JText::_('JDATE'); ?>
</th>
<th>
<?php echo JText::_('JAUTHOR'); ?>
</th>
<th>
<?php echo JText::_('COM_LANGUAGES_HEADING_AUTHOR_EMAIL'); ?>
</th>
</tr>
</thead>
<tfoot>
<tr>
<td colspan="9">
<?php echo $this->pagination->getListFooter(); ?>
</td>
</tr>
</tfoot>
<tbody>
<?php foreach ($this->rows as $i => $row) :
$canCreate = $user->authorise('core.create', 'com_languages');
$canEdit = $user->authorise('core.edit', 'com_languages');
$canChange = $user->authorise('core.edit.state', 'com_languages');
?>
<tr class="row<?php echo $i % 2; ?>">
<td width="20">
<?php echo $this->pagination->getRowOffset($i); ?>
</td>
<td width="20">
<?php echo JHtml::_('languages.id',$i,$row->language);?>
</td>
<td width="25%">
<?php echo $this->escape($row->name); ?>
</td>
<td align="center">
<?php echo $client;?>
</td>
<td align="center">
<?php echo JHtml::_('jgrid.isdefault', $row->published, $i, 'installed.', !$row->published && $canChange);?>
</td>
<td align="center">
<?php echo $this->escape($row->version); ?>
</td>
<td align="center">
<?php echo $this->escape($row->creationDate); ?>
</td>
<td align="center">
<?php echo $this->escape($row->author); ?>
</td>
<td align="center">
<?php echo $this->escape($row->authorEmail); ?>
</td>
</tr>
<?php endforeach;?>
</tbody>
</table>
<div>
<input type="hidden" name="task" value="" />
<input type="hidden" name="boxchecked" value="0" />
<?php echo JHtml::_('form.token'); ?>
</div>
</form>
The same content is in 3 releases, Joomla 1.7.0 to 1.7.2. See them all, or every version of this file.