| 1 |
<?php |
| 2 |
|
| 3 |
/** |
| 4 |
* User Registration Form |
| 5 |
* |
| 6 |
* @package bbPress |
| 7 |
* @subpackage Theme |
| 8 |
*/ |
| 9 |
|
| 10 |
?> |
| 11 |
|
| 12 |
<form method="post" action="<?php bbp_wp_login_action( array( 'context' => 'login_post' ) ); ?>" class="bbp-login-form"> |
| 13 |
<fieldset class="bbp-form"> |
| 14 |
<legend><?php _e( 'Create an Account', 'bbpress' ); ?></legend> |
| 15 |
|
| 16 |
<div class="bbp-template-notice"> |
| 17 |
<p><?php _e( 'Your username must be unique, and cannot be changed later.', 'bbpress' ) ?></p> |
| 18 |
<p><?php _e( 'We use your email address to email you a secure password and verify your account.', 'bbpress' ) ?></p> |
| 19 |
|
| 20 |
</div> |
| 21 |
|
| 22 |
<div class="bbp-username"> |
| 23 |
<label for="user_login"><?php _e( 'Username', 'bbpress' ); ?>: </label> |
| 24 |
<input type="text" name="user_login" value="<?php bbp_sanitize_val( 'user_login' ); ?>" size="20" id="user_login" tabindex="<?php bbp_tab_index(); ?>" /> |
| 25 |
</div> |
| 26 |
|
| 27 |
<div class="bbp-email"> |
| 28 |
<label for="user_email"><?php _e( 'Email', 'bbpress' ); ?>: </label> |
| 29 |
<input type="text" name="user_email" value="<?php bbp_sanitize_val( 'user_email' ); ?>" size="20" id="user_email" tabindex="<?php bbp_tab_index(); ?>" /> |
| 30 |
</div> |
| 31 |
|
| 32 |
<?php do_action( 'register_form' ); ?> |
| 33 |
|
| 34 |
<div class="bbp-submit-wrapper"> |
| 35 |
|
| 36 |
<button type="submit" tabindex="<?php bbp_tab_index(); ?>" name="user-submit" class="button submit user-submit"><?php _e( 'Register', 'bbpress' ); ?></button> |
| 37 |
|
| 38 |
<?php bbp_user_register_fields(); ?> |
| 39 |
|
| 40 |
</div> |
| 41 |
</fieldset> |
| 42 |
</form> |
| 43 |
|