CoreFiles by mySites.guru
view.html.php43 lines, 984 bytes, from Joomla_1.7.2-Stable-Full_Package.zip
Raw History Compare with 1.7.1
md5
ac4ed281a95cb69b7d6222d4fe4a5b10
sha1
62219af051da046079f66474f470e7d8bfa94a41
sha256
97027a49e278c8a1eb5bb003df4e0da6f9f827e845d882a81cb111f68ced2b7d
<?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 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 3 releases, Joomla 1.7.0 to 1.7.2. See them all, or every version of this file.