CoreFiles by mySites.guru
view.html.php50 lines, 1,380 bytes, from Joomla_1.5.0-Stable-Full_Package.zip
Raw History Compare with 1.0.15
md5
f952c4272f9eb2c213812f0fa3017200
sha1
f379c62ebc2ddf7f8bdd224fd456eba0445a7845
sha256
54efcd70e803ce4a6aad311b6ed43d95a31a9ba06a53e6ecd81450c2da45268c
<?php
/**
* @version		$Id: view.html.php 9764 2007-12-30 07:48:11Z ircmaxell $
* @package		Joomla
* @subpackage	Registration
* @copyright	Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
* @license		GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/

// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die();

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

/**
 * HTML View class for the Registration component
 *
 * @author		David Gal <[email protected]>
 * @package		Joomla
 * @subpackage	Registration
 * @since 1.0
 */
class UserViewRegister extends JView
{
	function display($tpl = null)
	{
		global $mainframe;

		$pathway  =& $mainframe->getPathway();
		$document =& JFactory::getDocument();

	 	// Page Title
	 	$document->setTitle( JText::_( 'Registration' ) );
		$pathway->addItem( JText::_( 'New' ));

		// Load the form validation behavior
		JHTML::_('behavior.formvalidation');

		$user =& JFactory::getUser();
		$this->assignRef('user', $user);

		parent::display($tpl);
	}
}
?>

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