CoreFiles by mySites.guru
view.html.php38 lines, 753 bytes, from Joomla_2.5.8-Stable-Full_Package.zip
Raw History Compare with 2.5.7
md5
44b0ae0e249f47b7570f136c1af6a2cd
sha1
d17685919254fb395066260a3f712a398647ad9b
sha256
12762c94207dd4b8d1d5650f79ab4c412af6d2219afc5e750e81c16d3f442363
<?php
/**
 * @package		Joomla.Installation
 * @copyright	Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

/**
 * The HTML Joomla Core Language View
 *
 * @package		Joomla.Installation
 * @since		1.6
 */
class JInstallationViewLanguage extends JViewLegacy
{
	/**
	 * Display the view
	 *
	 */
	public function display($tpl = null)
	{
		$state = $this->get('State');
		$form  = $this->get('Form');

		// Check for errors.
		if (count($errors = $this->get('Errors'))) {
			JError::raiseError(500, implode("\n", $errors));
			return false;
		}

		$this->state = $state;
		$this->form  = $form;

		parent::display($tpl);
	}
}

The same content is in 4 releases, Joomla 2.5.5 to 2.5.8. See them all, or every version of this file.