- md5
- ac98e842958d024fb83f175b56a2d9f1
- sha1
- e311b22f6ff2b5a789c9acf27913acd3d3fced43
- sha256
- f17ea3e2efaf1de5125b650826c69e5a4bd3ab47aa56643b03fb4de4233c91f0
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
<?php
/**
* @version $Id: admin.languages.html.php 14401 2010-01-26 14:10:00Z louis $
* @package Joomla
* @subpackage Languages
* @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/
// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
/**
* @package Joomla
* @subpackage Languages
*/
class HTML_languages {
function showLanguages( &$rows, &$page, $option, &$client, &$ftp )
{
$limitstart = JRequest::getVar('limitstart', '0', '', 'int');
$user =& JFactory::getUser();
JHTML::_('behavior.tooltip');
?>
<form action="index.php" method="post" name="adminForm">
<?php if($ftp): ?>
<fieldset title="<?php echo JText::_('DESCFTPTITLE'); ?>">
<legend><?php echo JText::_('DESCFTPTITLE'); ?></legend>
<?php echo JText::_('DESCFTP'); ?>
<?php if(JError::isError($ftp)): ?>
<p><?php echo JText::_($ftp->message); ?></p>
<?php endif; ?>
<table class="adminform nospace">
<tbody>
<tr>
<td width="120">
<label for="username"><?php echo JText::_('Username'); ?>:</label>
</td>
<td>
<input type="text" id="username" name="username" class="input_box" size="70" value="" />
</td>
</tr>
<tr>
<td width="120">
<label for="password"><?php echo JText::_('Password'); ?>:</label>
</td>
<td>
<input type="password" id="password" name="password" class="input_box" size="70" value="" />
</td>
</tr>
</tbody>
</table>
</fieldset>
<?php endif; ?>
<table class="adminlist">
<thead>
<tr>
<th width="20">
<?php echo JText::_( 'Num' ); ?>
</th>
<th width="30">
</th>
<th width="25%" class="title">
<?php echo JText::_( 'Language' ); ?>
</th>
<th width="5%">
<?php echo JText::_( 'Default' ); ?>
</th>
<th width="10%">
<?php echo JText::_( 'Version' ); ?>
</th>
<th width="10%">
<?php echo JText::_( 'Date' ); ?>
</th>
<th width="20%">
<?php echo JText::_( 'Author' ); ?>
</th>
<th width="25%">
<?php echo JText::_( 'Author Email' ); ?>
</th>
</tr>
</thead>
<tfoot>
<tr>
<td colspan="8">
<?php echo $page->getListFooter(); ?>
</td>
</tr>
</tfoot>
<tbody>
<?php
$k = 0;
for ($i=0, $n=count( $rows ); $i < $n; $i++) {
$row = &$rows[$i];
?>
<tr class="<?php echo "row$k"; ?>">
<td width="20">
<?php echo $page->getRowOffset( $i ); ?>
</td>
<td width="20">
<input type="radio" id="cb<?php echo $i;?>" name="cid[]" value="<?php echo $row->language; ?>" onclick="isChecked(this.checked);" />
</td>
<td width="25%">
<?php echo $row->name;?>
</td>
<td width="5%" align="center">
<?php
if ($row->published == 1) { ?>
<img src="templates/khepri/images/menu/icon-16-default.png" alt="<?php echo JText::_( 'Default' ); ?>" />
<?php
} else {
?>
<?php
}
?>
</td>
<td align="center">
<?php echo $row->version; ?>
</td>
<td align="center">
<?php echo $row->creationdate; ?>
</td>
<td align="center">
<?php echo $row->author; ?>
</td>
<td align="center">
<?php echo $row->authorEmail; ?>
</td>
</tr>
<?php
}
?>
</tbody>
</table>
<input type="hidden" name="option" value="<?php echo $option;?>" />
<input type="hidden" name="client" value="<?php echo $client->id;?>" />
<input type="hidden" name="task" value="" />
<input type="hidden" name="boxchecked" value="0" />
<?php echo JHTML::_( 'form.token' ); ?>
</form>
<?php
}
}
The same content is in 11 releases, Joomla 1.5.16 to 1.5.26. See them all, or every version of this file.