CoreFiles by mySites.guru
view.html.php46 lines, 973 bytes, from Joomla_3.0.4-Stable-Full_Package.zip
Raw History Compare with 3.0.3
md5
d697ecdd50545915f9c8c5451dc5bd61
sha1
4069dbfd75773f27ca88dd0d6ffd4052ee09e93c
sha256
572863e395e5c3568f536ef93136fef6c805e0ba71f6923ee2c9115732c8dabc
<?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 FTP Configuration View
 *
 * @package  Joomla.Installation
 * @since    3.0
 */
class InstallationViewFTP 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)
	{
		$state = $this->get('State');
		$form  = $this->get('Form');

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

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

		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.