CoreFiles by mySites.guru
view.html.php40 lines, 851 bytes, from Joomla_1.7.2-Stable-Full_Package.zip
Raw History Compare with 1.7.1
md5
a5a0b33e9d54ddf4fc94a22a1e476f01
sha1
521426d42516760e60320bfd3fb7d5c7b0b9f099
sha256
0bac9c195289ea8cc5a62fc7fd7d3fc7bf737b5651b529f4b286b95bca7ca3bb
<?php
/**
 * @version		$Id: view.html.php 21376 2011-05-24 17:11:48Z dextercowley $
 * @package		Joomla.Installation
 * @copyright	Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

jimport('joomla.application.component.view');
jimport('joomla.html.html');

/**
 * The HTML Joomla Core License View
 *
 * @package		Joomla.Installation
 * @since		1.6
 */
class JInstallationViewLicense extends JView
{
	/**
	 * 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->assignRef('state', $state);

		parent::display($tpl);
	}
}

The same content is in 3 releases, Joomla 1.7.0 to 1.7.2. See them all, or every version of this file.