[ Index ]

PHP Cross Reference of Joomla 1.5.26 DE

title

Body

[close]

/components/com_user/views/register/tmpl/ -> default.php (source)

   1  <?php // no direct access
   2  defined('_JEXEC') or die('Restricted access'); ?>
   3  <script type="text/javascript">
   4  <!--
   5      Window.onDomReady(function(){
   6          document.formvalidator.setHandler('passverify', function (value) { return ($('password').value == value); }    );
   7      });
   8  // -->
   9  </script>
  10  
  11  <?php
  12      if(isset($this->message)){
  13          $this->display('message');
  14      }
  15  ?>
  16  
  17  <form action="<?php echo JRoute::_( 'index.php?option=com_user' ); ?>" method="post" id="josForm" name="josForm" class="form-validate">
  18  
  19  <?php if ( $this->params->def( 'show_page_title', 1 ) ) : ?>
  20  <div class="componentheading<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>"><?php echo $this->escape($this->params->get('page_title')); ?></div>
  21  <?php endif; ?>
  22  
  23  <table cellpadding="0" cellspacing="0" border="0" width="100%" class="contentpane">
  24  <tr>
  25      <td width="30%" height="40">
  26          <label id="namemsg" for="name">
  27              <?php echo JText::_( 'Name' ); ?>:
  28          </label>
  29      </td>
  30        <td>
  31            <input type="text" name="name" id="name" size="40" value="<?php echo $this->escape($this->user->get( 'name' ));?>" class="inputbox required" maxlength="50" /> *
  32        </td>
  33  </tr>
  34  <tr>
  35      <td height="40">
  36          <label id="usernamemsg" for="username">
  37              <?php echo JText::_( 'User name' ); ?>:
  38          </label>
  39      </td>
  40      <td>
  41          <input type="text" id="username" name="username" size="40" value="<?php echo $this->escape($this->user->get( 'username' ));?>" class="inputbox required validate-username" maxlength="25" /> *
  42      </td>
  43  </tr>
  44  <tr>
  45      <td height="40">
  46          <label id="emailmsg" for="email">
  47              <?php echo JText::_( 'Email' ); ?>:
  48          </label>
  49      </td>
  50      <td>
  51          <input type="text" id="email" name="email" size="40" value="<?php echo $this->escape($this->user->get( 'email' ));?>" class="inputbox required validate-email" maxlength="100" /> *
  52      </td>
  53  </tr>
  54  <tr>
  55      <td height="40">
  56          <label id="pwmsg" for="password">
  57              <?php echo JText::_( 'Password' ); ?>:
  58          </label>
  59      </td>
  60        <td>
  61            <input class="inputbox required validate-password" type="password" id="password" name="password" size="40" value="" /> *
  62        </td>
  63  </tr>
  64  <tr>
  65      <td height="40">
  66          <label id="pw2msg" for="password2">
  67              <?php echo JText::_( 'Verify Password' ); ?>:
  68          </label>
  69      </td>
  70      <td>
  71          <input class="inputbox required validate-passverify" type="password" id="password2" name="password2" size="40" value="" /> *
  72      </td>
  73  </tr>
  74  <tr>
  75      <td colspan="2" height="40">
  76          <?php echo JText::_( 'REGISTER_REQUIRED' ); ?>
  77      </td>
  78  </tr>
  79  </table>
  80      <button class="button validate" type="submit"><?php echo JText::_('Register'); ?></button>
  81      <input type="hidden" name="task" value="register_save" />
  82      <input type="hidden" name="id" value="0" />
  83      <input type="hidden" name="gid" value="0" />
  84      <?php echo JHTML::_( 'form.token' ); ?>
  85  </form>


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