- md5
- 919598d44f4edae88f370edf3ab39446
- sha1
- c8395c14bd522644339b1a478169f985d238fc75
- sha256
- fde71185618ca515d6209aefdf15c5dafa8b2a0a762b90b485460a72d4d55e8b
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
<?php
/**
* @package Joomla.Administrator
* @subpackage Templates.hathor
* @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
* @since 1.6
*/
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">
<table class="adminlist">
<thead>
<tr>
<th class="row-number-col">
<?php echo JText::_('COM_LANGUAGES_HEADING_NUM'); ?>
</th>
<th class="checkmark-col">
 
</th>
<th class="title">
<?php echo JText::_('COM_LANGUAGES_HEADING_LANGUAGE'); ?>
</th>
<th>
<?php echo JText::_('COM_LANGUAGES_FIELD_LANG_TAG_LABEL'); ?>
</th>
<th class="width-10">
<?php echo JText::_('JCLIENT'); ?>
</th>
<th class="width-5">
<?php echo JText::_('COM_LANGUAGES_HEADING_DEFAULT'); ?>
</th>
<th class="width-10">
<?php echo JText::_('JVERSION'); ?>
</th>
<th class="width-10">
<?php echo JText::_('JDATE'); ?>
</th>
<th class="width-20">
<?php echo JText::_('JAUTHOR'); ?>
</th>
<th class="width-25">
<?php echo JText::_('COM_LANGUAGES_HEADING_AUTHOR_EMAIL'); ?>
</th>
</tr>
</thead>
<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; ?>">
<th>
<?php echo $this->pagination->getRowOffset($i); ?>
</th>
<td>
<?php echo JHtml::_('languages.id', $i, $row->language);?>
</td>
<td>
<?php echo $this->escape($row->name); ?>
</td>
<td align="center">
<?php echo $this->escape($row->language); ?>
</td>
<td class="center">
<?php echo $client;?>
</td>
<td class="center">
<?php echo JHtml::_('jgrid.isdefault', $row->published, $i, 'installed.', !$row->published && $canChange);?>
</td>
<td class="center">
<?php echo $this->escape($row->version); ?>
</td>
<td class="center">
<?php echo $this->escape($row->creationDate); ?>
</td>
<td class="center">
<?php echo $this->escape($row->author); ?>
</td>
<td class="center">
<?php echo $this->escape($row->authorEmail); ?>
</td>
</tr>
<?php endforeach;?>
</tbody>
</table>
<?php echo $this->pagination->getListFooter(); ?>
<input type="hidden" name="task" value="" />
<input type="hidden" name="boxchecked" value="0" />
<?php echo JHtml::_('form.token'); ?>
</form>
The same content is in 11 releases, Joomla 2.5.18 to 2.5.28. See them all, or every version of this file.