| [ Index ] |
PHP Cross Reference of Joomla 1.5.26 DE |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * @version $Id: view.php 14401 2010-01-26 14:10:00Z louis $ 4 * @package Joomla 5 * @subpackage Menus 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 jimport('joomla.application.component.view'); 19 20 /** 21 * Extension Manager Languages View 22 * 23 * @package Joomla 24 * @subpackage Installer 25 * @since 1.5 26 */ 27 include_once(dirname(__FILE__).DS.'..'.DS.'default'.DS.'view.php'); 28 29 class InstallerViewLanguages extends InstallerViewDefault 30 { 31 function display($tpl=null) 32 { 33 /* 34 * Set toolbar items for the page 35 */ 36 JToolBarHelper::deleteList( 'UNINSTALL LANGUAGE', 'remove', 'Uninstall' ); 37 JToolBarHelper::help( 'screen.installer' ); 38 39 // Get data from the model 40 $state = &$this->get('State'); 41 $items = &$this->get('Items'); 42 $pagination = &$this->get('Pagination'); 43 44 $lists = new stdClass(); 45 $select[] = JHTML::_('select.option', '-1', JText::_('All')); 46 $select[] = JHTML::_('select.option', '0', JText::_('Site Languages')); 47 $select[] = JHTML::_('select.option', '1', JText::_('Admin Languages')); 48 $lists->client = JHTML::_('select.genericlist', $select, 'client', 'class="inputbox" size="1" onchange="document.adminForm.submit();"', 'value', 'text', $state->get('filter.client')); 49 50 $this->assignRef('items', $items); 51 $this->assignRef('pagination', $pagination); 52 $this->assignRef('lists', $lists); 53 54 parent::display($tpl); 55 } 56 57 function loadItem($index=0) 58 { 59 $item =& $this->items[$index]; 60 $item->index = $index; 61 62 if ($item->published) { 63 $item->cbd = 'disabled'; 64 $item->style = 'style="color:#999999;"'; 65 } else { 66 $item->cbd = null; 67 $item->style = null; 68 } 69 $item->author_info = @$item->authorEmail .'<br />'. @$item->authorUrl; 70 71 $this->assignRef('item', $item); 72 } 73 }
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 |