CoreFiles by mySites.guru
view.html.php41 lines, 882 bytes, from Joomla_2.5.4-Stable-Full_Package.zip
Raw History Compare with 2.5.3
md5
b34749521058b6e5353313254f81e92d
sha1
aaa486b592f23990737f133fb88f6f53c16dbd33
sha256
4ab8bcb7c01ac817180203c98b7d47582f47ea88555f51197e5cf2c3ab451cf4
<?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;

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

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

		JText::script('INSTL_FTP_SETTINGS_CORRECT');
		parent::display($tpl);
	}
}

The same content is in 5 releases, Joomla 2.5.0 to 2.5.4. See them all, or every version of this file.