CoreFiles by mySites.guru
view.html.php36 lines, 696 bytes, from Joomla_2.5.5-Stable-Full_Package.zip
Raw History Compare with 2.5.4
md5
dea655d52040c94886696af1320aa436
sha1
5c54dfaef8fbb51b7098d09d6955c4c699df37d9
sha256
f6bfed4d73308fdfa3d4678b08b414a2c514e39a900dddbb75c72f40bc3be49c
<?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 License View
 *
 * @package		Joomla.Installation
 * @since		1.6
 */
class JInstallationViewLicense extends JViewLegacy
{
	/**
	 * Display the view
	 *
	 */
	public function display($tpl = null)
	{
		$state = $this->get('State');

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

		$this->state = $state;

		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.