| [ Index ] |
PHP Cross Reference of Joomla 1.5.26 DE |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * @version $Id: admin.languages.html.php 14401 2010-01-26 14:10:00Z louis $ 4 * @package Joomla 5 * @subpackage Languages 6 * @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved. 7 * @license GNU/GPL, see LICENSE.php 8 * Joomla! is free software. This version may have been modified pursuant 9 * to the GNU General Public License, and as distributed it includes or 10 * is derivative of works licensed under the GNU General Public License or 11 * other free or open source software licenses. 12 * See COPYRIGHT.php for copyright notices and details. 13 */ 14 15 // no direct access 16 defined( '_JEXEC' ) or die( 'Restricted access' ); 17 18 /** 19 * @package Joomla 20 * @subpackage Languages 21 */ 22 class HTML_languages { 23 24 function showLanguages( &$rows, &$page, $option, &$client, &$ftp ) 25 { 26 $limitstart = JRequest::getVar('limitstart', '0', '', 'int'); 27 $user =& JFactory::getUser(); 28 29 JHTML::_('behavior.tooltip'); 30 ?> 31 <form action="index.php" method="post" name="adminForm"> 32 33 <?php if($ftp): ?> 34 <fieldset title="<?php echo JText::_('DESCFTPTITLE'); ?>"> 35 <legend><?php echo JText::_('DESCFTPTITLE'); ?></legend> 36 37 <?php echo JText::_('DESCFTP'); ?> 38 39 <?php if(JError::isError($ftp)): ?> 40 <p><?php echo JText::_($ftp->message); ?></p> 41 <?php endif; ?> 42 43 <table class="adminform nospace"> 44 <tbody> 45 <tr> 46 <td width="120"> 47 <label for="username"><?php echo JText::_('Username'); ?>:</label> 48 </td> 49 <td> 50 <input type="text" id="username" name="username" class="input_box" size="70" value="" /> 51 </td> 52 </tr> 53 <tr> 54 <td width="120"> 55 <label for="password"><?php echo JText::_('Password'); ?>:</label> 56 </td> 57 <td> 58 <input type="password" id="password" name="password" class="input_box" size="70" value="" /> 59 </td> 60 </tr> 61 </tbody> 62 </table> 63 </fieldset> 64 <?php endif; ?> 65 66 <table class="adminlist"> 67 <thead> 68 <tr> 69 <th width="20"> 70 <?php echo JText::_( 'Num' ); ?> 71 </th> 72 <th width="30"> 73 74 </th> 75 <th width="25%" class="title"> 76 <?php echo JText::_( 'Language' ); ?> 77 </th> 78 <th width="5%"> 79 <?php echo JText::_( 'Default' ); ?> 80 </th> 81 <th width="10%"> 82 <?php echo JText::_( 'Version' ); ?> 83 </th> 84 <th width="10%"> 85 <?php echo JText::_( 'Date' ); ?> 86 </th> 87 <th width="20%"> 88 <?php echo JText::_( 'Author' ); ?> 89 </th> 90 <th width="25%"> 91 <?php echo JText::_( 'Author Email' ); ?> 92 </th> 93 </tr> 94 </thead> 95 <tfoot> 96 <tr> 97 <td colspan="8"> 98 <?php echo $page->getListFooter(); ?> 99 </td> 100 </tr> 101 </tfoot> 102 <tbody> 103 <?php 104 $k = 0; 105 for ($i=0, $n=count( $rows ); $i < $n; $i++) { 106 $row = &$rows[$i]; 107 ?> 108 <tr class="<?php echo "row$k"; ?>"> 109 <td width="20"> 110 <?php echo $page->getRowOffset( $i ); ?> 111 </td> 112 <td width="20"> 113 <input type="radio" id="cb<?php echo $i;?>" name="cid[]" value="<?php echo $row->language; ?>" onclick="isChecked(this.checked);" /> 114 </td> 115 <td width="25%"> 116 <?php echo $row->name;?> 117 </td> 118 <td width="5%" align="center"> 119 <?php 120 if ($row->published == 1) { ?> 121 <img src="templates/khepri/images/menu/icon-16-default.png" alt="<?php echo JText::_( 'Default' ); ?>" /> 122 <?php 123 } else { 124 ?> 125 126 <?php 127 } 128 ?> 129 </td> 130 <td align="center"> 131 <?php echo $row->version; ?> 132 </td> 133 <td align="center"> 134 <?php echo $row->creationdate; ?> 135 </td> 136 <td align="center"> 137 <?php echo $row->author; ?> 138 </td> 139 <td align="center"> 140 <?php echo $row->authorEmail; ?> 141 </td> 142 </tr> 143 <?php 144 } 145 ?> 146 </tbody> 147 </table> 148 149 <input type="hidden" name="option" value="<?php echo $option;?>" /> 150 <input type="hidden" name="client" value="<?php echo $client->id;?>" /> 151 <input type="hidden" name="task" value="" /> 152 <input type="hidden" name="boxchecked" value="0" /> 153 <?php echo JHTML::_( 'form.token' ); ?> 154 </form> 155 <?php 156 } 157 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Wed Mar 28 15:54:07 2012 | Cross-referenced by PHPXref 0.7.1 |