b2evolution

Multilingual multiuser multiblog engine

b2evolution Technical Documentation (0.9.x) [ class tree: htsrv ] [ index: htsrv ] [ all elements ]

Source for file _reg_form.php

Documentation is available at _reg_form.php

  1. <?php
  2. /**
  3.  * This is the registration form
  4.  *
  5.  * b2evolution - {@link http://b2evolution.net/}
  6.  * Released under GNU GPL License - {@link http://b2evolution.net/about/license.html}
  7.  * @copyright (c)2003-2005 by Francois PLANQUE - {@link http://fplanque.net/}
  8.  *
  9.  * @package htsrv
  10.  */
  11.  
  12. /**
  13.  * Include page header:
  14.  */
  15. $page_title T_('Register form');
  16. $page_icon 'icon_register.gif';
  17. require(dirname(__FILE__).'/_header.php');
  18. ?>
  19.  
  20.  
  21. <form method="post" action="<?php echo $htsrv_url ?>/register.php" class="fform">
  22. <input type="hidden" name="action" value="register" />
  23. <input type="hidden" name="redirect_to" value="<?php echo $redirect_to ?>" />
  24.  
  25. <fieldset>
  26.     <fieldset>
  27.         <div class="label"><label for="login"><?php echo T_('Login:'?></label></div>
  28.         <div class="input"><input type="text" name="login" id="login" size="16" maxlength="20" value="<?php echo format_to_output($login'formvalue')?>" class="large" /></div>
  29.     </fieldset>
  30.  
  31.     <fieldset>
  32.         <div class="label"><label for="pass1"><?php echo T_('Password:'?><br /><?php echo T_('(twice)').'<br />' ?></label></div>
  33.         <div class="input">
  34.         <input type="password" name="pass1" id="pass1" size="16" maxlength="20" value="" class="large" />
  35.         <input type="password" name="pass2" id="pass2" size="16" maxlength="20" value="" class="large" />
  36.         <span class="notes"><?php printfT_('Minimum %d characters, please.')$Settings->get('user_minpwdlen') ) ?></span>
  37.         </div>
  38.     </fieldset>
  39.  
  40.     <fieldset>
  41.         <div class="label"><label for="email"><?php echo T_('Email'?>:</label></div>
  42.         <div class="input"><input type="text" name="email" id="email" size="16" maxlength="100" value="<?php echo format_to_output($email'formvalue')?>" class="large" /></div>
  43.     </fieldset>
  44.  
  45.     <?php
  46.     form_select'locale'$locale'locale_options'T_('Locale')T_('Preferred language') );
  47.     ?>
  48.     <fieldset>
  49.         <div class="input">
  50.             <input type="submit" name="submit" value="<?php echo T_('Register!'?>" class="search" />
  51.         </div>
  52.     </fieldset>
  53. </fieldset>
  54. </form>
  55.  
  56. <div style="text-align:right">
  57.     <a href="<?php echo $htsrv_url.'/login.php' ?>"><?php echo T_('Log into existing account...'?></a>
  58. </div>
  59.  
  60. <?php
  61.     require(dirname(__FILE__).'/_footer.php');
  62. ?>

Documentation generated on Tue, 20 May 2008 01:55:40 +0200 by phpDocumentor 1.4.2