CoreFiles by mySites.guru
view.html.php45 lines, 1,052 bytes, from Joomla_3.0.4-Stable-Full_Package.zip
Raw History Compare with 3.0.3
md5
d0a76d93d19bcb63bf9cc97cb07540c3
sha1
5c98d26983a8e9ad460c47bb24f21584fc4a80ac
sha256
2d7e89fb94ee2319aea6db32c33115ed0ccfee2eaea0f5b8df63c7f078440502
<?php
/**
 * @package    Joomla.Installation
 *
 * @copyright  Copyright (C) 2005 - 2013 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 Pre-Install View
 *
 * @package  Joomla.Installation
 * @since    3.0
 */
class InstallationViewPreinstall extends JViewLegacy
{
	/**
	 * Display the view
	 *
	 * @param   string  $tpl  The name of the template file to parse; automatically searches through the template paths.
	 *
	 * @return  void
	 *
	 * @since   3.0
	 */
	public function display($tpl = null)
	{
		$this->form     = $this->get('Form');
		$this->state    = $this->get('State');
		$this->settings = $this->get('PhpSettings');
		$this->options  = $this->get('PhpOptions');
		$this->version  = new JVersion;

		// Check for errors.
		if (count($errors = $this->get('Errors')))
		{
			$app = JFactory::getApplication();
			$app->enqueueMessage(implode("\n", $errors), 'error');
		}

		parent::display($tpl);
	}
}

The same content is in 2 releases, Joomla 3.0.3 to 3.0.4. See them all, or every version of this file.