Source for file view.html.php
Documentation is available at view.html.php
* @package Joomla.Administrator
* @subpackage com_installer
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
include_once __DIR__ .
'/../default/view.php';
* Language installer view
* @package Joomla.Administrator
* @subpackage com_installer
* @var object pagination information
* @var object model state
* @param null $tpl template to display
public function display($tpl =
null)
// Get data from the model
if (count($errors =
$this->get('Errors')))
* Add the page title and toolbar.
JToolBarHelper::title(JText::_('COM_INSTALLER_HEADER_' .
$this->getName()), 'puzzle install');
if ($canDo->get('core.admin'))
JToolBarHelper::custom('languages.install', 'upload', 'upload', 'COM_INSTALLER_TOOLBAR_INSTALL', true, false);
JToolBarHelper::custom('languages.find', 'refresh', 'refresh', 'COM_INSTALLER_TOOLBAR_FIND_LANGUAGES', false, false);
JToolBarHelper::divider();
// TODO: this help screen will need to be created
JToolBarHelper::help('JHELP_EXTENSIONS_EXTENSION_MANAGER_LANGUAGES');
Documentation generated on Tue, 19 Nov 2013 15:17:34 +0100 by phpDocumentor 1.4.3