CoreFiles by mySites.guru
default_login.php56 lines, 2,474 bytes, from Joomla_1.5.3-Stable-Full_Package.zip
Raw History Compare with 1.5.2
md5
e8f95076c988a08d0fb7dc96f9c20aa6
sha1
27b0dbf863dfa575a39b3bfecc173bf482ea40ba
sha256
adc7f758f8a5ad53977448a50741fbf916c94540317103b4b0c7fad1516d8fbd
<?php // @version $Id: default_login.php 9830 2008-01-03 01:09:39Z eddieajau $
defined( '_JEXEC' ) or die( 'Restricted access' );
?>
<form action="<?php echo JRoute::_( 'index.php', true, $this->params->get('usesecure')); ?>" method="post" name="login" id="login" class="login_form<?php echo $this->params->get( 'pageclass_sfx' ); ?>">
	<?php if ( $this->params->get( 'page_title' ) ) : ?>
	<h1 class="componentheading<?php echo $this->params->get( 'pageclass_sfx' ); ?>">
		<?php echo $this->params->get( 'header_login' ); ?>
	</h1>
	<?php endif; ?>

	<?php if ( $this->params->get( 'description_login' ) || isset( $this->image ) ) : ?>
		<div class="contentdescription<?php echo $this->params->get( 'pageclass_sfx' );?>">
			<?php if (isset ($this->image)) :
				echo $this->image;
			endif;
			if ($this->params->get('description_login')) : ?>
			<p>
				<?php echo $this->params->get('description_login_text'); ?>
			</p>
			<?php endif;
			if (isset ($this->image)) : ?>
			<div class="wrap_image">&nbsp;</div>
			<?php endif; ?>
		</div>
	<?php endif; ?>
	<fieldset>
		<div class="name">
			<label for="user" ><?php echo JText::_( 'Username' ); ?></label>
			<input name="username" type="text" class="inputbox" size="20"  id="user" />
		</div>
		<div class="pass">
			<label for="pass" ><?php echo JText::_( 'Password' ); ?></label>
			<input name="passwd" type="password" class="inputbox" size="20" id="pass" />
		</div>
		<div class="remember">
			<label for="rem"><?php echo JText::_( 'Remember me' ); ?></label>
			<input type="checkbox" name="remember" class="inputbox" value="yes" id="rem" />
		</div>
	</fieldset>
	<p>
		<a href="<?php echo JRoute::_( 'index.php?option=com_user&task=lostPassword' ); ?>">
			<?php echo JText::_('Lost Password?'); ?></a>
		<?php if ( $this->params->get( 'registration' ) ) : ?>
		<?php echo JText::_('No account yet?'); ?>
		<a href="<?php echo JRoute::_( 'index.php?option=com_user&task=register' ); ?>">
			<?php echo JText::_( 'Register' ); ?></a>
		<?php endif; ?>
	</p>

	<input type="submit" name="submit" class="button" value="<?php echo JText::_( 'Login' ); ?>" />
	<noscript><?php echo JText::_( 'WARNJAVASCRIPT' ); ?></noscript>
	<input type="hidden" name="option" value="com_user" />
	<input type="hidden" name="task" value="login" />
	<input type="hidden" name="return" value="<?php echo $this->return; ?>" />
	<?php echo JHTML::_( 'form.token' ); ?>
</form>

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