| [ 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 /** 19 * Extension Manager Components View 20 * 21 * @package Joomla 22 * @subpackage Installer 23 * @since 1.5 24 */ 25 26 include_once(dirname(__FILE__).DS.'..'.DS.'default'.DS.'view.php'); 27 28 class InstallerViewComponents extends InstallerViewDefault 29 { 30 function display($tpl=null) 31 { 32 /* 33 * Set toolbar items for the page 34 */ 35 JToolBarHelper::deleteList( '', 'remove', 'Uninstall' ); 36 JToolBarHelper::help( 'screen.installer' ); 37 38 // Get data from the model 39 $state = &$this->get('State'); 40 $items = &$this->get('Items'); 41 $pagination = &$this->get('Pagination'); 42 43 $this->assignRef('items', $items); 44 $this->assignRef('pagination', $pagination); 45 46 parent::display($tpl); 47 } 48 49 function loadItem($index=0) 50 { 51 $item =& $this->items[$index]; 52 $item->index = $index; 53 $item->img = $item->enabled ? 'tick.png' : 'publish_x.png'; 54 $item->task = $item->enabled ? 'disable' : 'enable'; 55 $item->alt = $item->enabled ? JText::_( 'Enabled' ) : JText::_( 'Disabled' ); 56 $item->action = $item->enabled ? JText::_( 'disable' ) : JText::_( 'enable' ); 57 58 if ($item->iscore) { 59 $item->cbd = 'disabled'; 60 $item->style = 'style="color:#999999;"'; 61 } else { 62 $item->cbd = null; 63 $item->style = null; 64 } 65 $item->author_info = @$item->authorEmail .'<br />'. @$item->authorUrl; 66 67 $this->assignRef('item', $item); 68 } 69 }
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 |