| @@ -1,50 +1,50 @@ | ||
| 1 | -<?php | |
| 2 | - | |
| 3 | -/** | |
| 4 | - * User Registration Form | |
| 5 | - * | |
| 6 | - * @package bbPress | |
| 7 | - * @subpackage Theme | |
| 8 | - */ | |
| 9 | - | |
| 10 | -// Exit if accessed directly | |
| 11 | -defined( 'ABSPATH' ) || exit; | |
| 12 | -?> | |
| 13 | - | |
| 14 | -<form method="post" action="<?php bbp_wp_login_action( array( 'context' => 'login_post' ) ); ?>" class="bbp-login-form"> | |
| 15 | - <fieldset class="bbp-form"> | |
| 16 | - <legend><?php esc_html_e( 'Create an Account', 'forumax' ); ?></legend> | |
| 17 | - | |
| 18 | - <?php do_action( 'bbp_template_before_register_fields' ); ?> | |
| 19 | - | |
| 20 | - <div class="bbp-template-notice"> | |
| 21 | - <ul> | |
| 22 | - <li><?php esc_html_e( 'Your username must be unique, and cannot be changed later.', 'forumax' ); ?></li> | |
| 23 | - <li><?php esc_html_e( 'We use your email address to email you a secure password and verify your account.', 'forumax' ); ?></li> | |
| 24 | - </ul> | |
| 25 | - </div> | |
| 26 | - | |
| 27 | - <div class="bbp-username"> | |
| 28 | - <label for="bbp_login"><?php esc_html_e( 'Username', 'forumax' ); ?>: </label> | |
| 29 | - <input type="text" name="user_login" value="<?php bbp_sanitize_val( 'user_login' ); ?>" size="20" id="bbp_login" maxlength="100" autocomplete="off" /> | |
| 30 | - </div> | |
| 31 | - | |
| 32 | - <div class="bbp-email"> | |
| 33 | - <label for="user_email"><?php esc_html_e( 'Email', 'forumax' ); ?>: </label> | |
| 34 | - <input type="text" name="user_email" value="<?php bbp_sanitize_val( 'user_email' ); ?>" size="20" id="user_email" maxlength="100" autocomplete="off" /> | |
| 35 | - </div> | |
| 36 | - | |
| 37 | - <?php do_action( 'register_form' ); ?> | |
| 38 | - | |
| 39 | - <div class="bbp-submit-wrapper"> | |
| 40 | - | |
| 41 | - <button type="submit" name="user-submit" class="button submit user-submit fill-brand"><?php esc_html_e( 'Register', 'forumax' ); ?></button> | |
| 42 | - | |
| 43 | - <?php bbp_user_register_fields(); ?> | |
| 44 | - | |
| 45 | - </div> | |
| 46 | - | |
| 47 | - <?php do_action( 'bbp_template_after_register_fields' ); ?> | |
| 48 | - | |
| 49 | - </fieldset> | |
| 50 | -</form> | |
| 1 | +<?php | |
| 2 | + | |
| 3 | +/** | |
| 4 | + * User Registration Form | |
| 5 | + * | |
| 6 | + * @package bbPress | |
| 7 | + * @subpackage Theme | |
| 8 | + */ | |
| 9 | + | |
| 10 | +// Exit if accessed directly | |
| 11 | +defined( 'ABSPATH' ) || exit; | |
| 12 | +?> | |
| 13 | + | |
| 14 | +<form method="post" action="<?php bbp_wp_login_action( array( 'context' => 'login_post' ) ); ?>" class="bbp-login-form"> | |
| 15 | + <fieldset class="bbp-form"> | |
| 16 | + <legend><?php esc_html_e( 'Create an Account', 'forumax' ); ?></legend> | |
| 17 | + | |
| 18 | + <?php do_action( 'bbp_template_before_register_fields' ); ?> | |
| 19 | + | |
| 20 | + <div class="bbp-template-notice"> | |
| 21 | + <ul> | |
| 22 | + <li><?php esc_html_e( 'Your username must be unique, and cannot be changed later.', 'forumax' ); ?></li> | |
| 23 | + <li><?php esc_html_e( 'We use your email address to email you a secure password and verify your account.', 'forumax' ); ?></li> | |
| 24 | + </ul> | |
| 25 | + </div> | |
| 26 | + | |
| 27 | + <div class="bbp-username"> | |
| 28 | + <label for="bbp_login"><?php esc_html_e( 'Username', 'forumax' ); ?>: </label> | |
| 29 | + <input type="text" name="user_login" value="<?php bbp_sanitize_val( 'user_login' ); ?>" size="20" id="bbp_login" maxlength="100" autocomplete="off" /> | |
| 30 | + </div> | |
| 31 | + | |
| 32 | + <div class="bbp-email"> | |
| 33 | + <label for="user_email"><?php esc_html_e( 'Email', 'forumax' ); ?>: </label> | |
| 34 | + <input type="text" name="user_email" value="<?php bbp_sanitize_val( 'user_email' ); ?>" size="20" id="user_email" maxlength="100" autocomplete="off" /> | |
| 35 | + </div> | |
| 36 | + | |
| 37 | + <?php do_action( 'register_form' ); ?> | |
| 38 | + | |
| 39 | + <div class="bbp-submit-wrapper"> | |
| 40 | + | |
| 41 | + <button type="submit" name="user-submit" class="button submit user-submit fill-brand"><?php esc_html_e( 'Register', 'forumax' ); ?></button> | |
| 42 | + | |
| 43 | + <?php bbp_user_register_fields(); ?> | |
| 44 | + | |
| 45 | + </div> | |
| 46 | + | |
| 47 | + <?php do_action( 'bbp_template_after_register_fields' ); ?> | |
| 48 | + | |
| 49 | + </fieldset> | |
| 50 | +</form> | |