Files
@ c7d7e38b2269
Branch filter:
Location: hot67beta/administrator/components/com_languages/admin.languages.html.php
c7d7e38b2269
3.9 KiB
text/x-php
Initial import of the site.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 | <?php
/**
* @version $Id: admin.languages.html.php 10381 2008-06-01 03:35:53Z pasamio $
* @package Joomla
* @subpackage Languages
* @copyright Copyright (C) 2005 - 2008 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
}
}
|