[ Index ]

PHP Cross Reference of Joomla 1.5.26 DE

title

Body

[close]

/templates/beez/html/com_user/login/ -> default_login.php (source)

   1  <?php // @version $Id: default_login.php 12352 2009-06-24 13:52:57Z ian $
   2  defined( '_JEXEC' ) or die( 'Restricted access' );
   3  ?>
   4  <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' ); ?>">
   5      <?php if ( $this->params->get( 'show_login_title' ) ) : ?>
   6      <h1 class="componentheading<?php echo $this->params->get( 'pageclass_sfx' ); ?>">
   7          <?php echo $this->params->get( 'header_login' ); ?>
   8      </h1>
   9      <?php endif; ?>
  10  
  11      <?php if ( $this->params->get( 'description_login' ) || isset( $this->image ) ) : ?>
  12          <div class="contentdescription<?php echo $this->params->get( 'pageclass_sfx' );?>">
  13              <?php if (isset ($this->image)) :
  14                  echo $this->image;
  15              endif;
  16              if ($this->params->get('description_login')) : ?>
  17              <p>
  18                  <?php echo $this->params->get('description_login_text'); ?>
  19              </p>
  20              <?php endif;
  21              if (isset ($this->image)) : ?>
  22              <div class="wrap_image">&nbsp;</div>
  23              <?php endif; ?>
  24          </div>
  25      <?php endif; ?>
  26      <fieldset>
  27          <div class="name">
  28              <label for="user" ><?php echo JText::_( 'Username' ); ?></label>
  29              <input name="username" type="text" class="inputbox" size="20"  id="user" />
  30          </div>
  31          <div class="pass">
  32              <label for="pass" ><?php echo JText::_( 'Password' ); ?></label>
  33              <input name="passwd" type="password" class="inputbox" size="20" id="pass" />
  34          </div>
  35          <div class="remember">
  36              <label for="rem"><?php echo JText::_( 'Remember me' ); ?></label>
  37              <input type="checkbox" name="remember" class="inputbox" value="yes" id="rem" />
  38          </div>
  39      </fieldset>
  40      <p>
  41          <a href="<?php echo JRoute::_( 'index.php?option=com_user&view=reset#content' ); ?>">
  42              <?php JPlugin::loadLanguage( 'tpl_beez' ); echo JText::_('Lost Password?'); ?></a>
  43          <?php if ( $this->params->get( 'registration' ) ) : ?>
  44          <?php echo JText::_('No account yet?'); ?>
  45          <a href="<?php echo JRoute::_( 'index.php?option=com_user&view=register#content' ); ?>">
  46              <?php echo JText::_( 'Register' ); ?></a>
  47          <?php endif; ?>
  48      </p>
  49  
  50      <input type="submit" name="submit" class="button" value="<?php echo JText::_( 'Login' ); ?>" />
  51      <noscript><?php echo JText::_( 'WARNJAVASCRIPT' ); ?></noscript>
  52      <input type="hidden" name="option" value="com_user" />
  53      <input type="hidden" name="task" value="login" />
  54      <input type="hidden" name="return" value="<?php echo $this->return; ?>" />
  55      <?php echo JHTML::_( 'form.token' ); ?>
  56  </form>


Generated: Wed Mar 28 15:54:07 2012 Cross-referenced by PHPXref 0.7.1