Skip to:
Content

bbPress.org


Ignore:
Timestamp:
01/18/2011 08:35:34 AM (15 years ago)
Author:
johnjamesjacoby
Message:

Introduce lost password page. Introduce user_login and user_lost_pass template parts. Introduce supporting login and smart login redirect functions. Normalize submit containers across template forms. (@todo: register, activation, and lost password pages)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-themes/bbp-twentyten/form-bbp_user_register.php

    r2814 r2815  
    99
    1010?>
     11
     12    <form method="post" action="<?php bbp_wp_login_action( array( 'action' => 'register', 'context' => 'login_post' ) ); ?>" class="bbp-login-form">
     13        <fieldset>
     14            <legend><?php _e( 'Register', 'bbpress' ); ?></legend>
     15
     16            <?php do_action( 'bbp_template_notices' ); ?>
     17
     18            <div class="bbp-username">
     19                <label for="user_login"><?php _e( 'Username', 'bbpress' ); ?>: </label>
     20                <input type="text" name="log" value="<?php bbp_sanitize_val( 'user_login' ); ?>" size="20" id="user_login" tabindex="<?php bbp_tab_index(); ?>" />
     21            </div>
     22
     23            <div class="bbp-email">
     24                <label for="user_email"><?php _e( 'Email Address', 'bbpress' ); ?>: </label>
     25                <input type="text" name="user_email" value="<?php bbp_sanitize_val( 'user_email' ); ?>" size="20" id="user_email" tabindex="<?php bbp_tab_index(); ?>" />
     26            </div>
     27
     28            <div class="bbp-submit-wrapper">
     29
     30                <?php do_action( 'register_form' ); ?>
     31
     32                <button type="submit" name="user-submit" tabindex="<?php bbp_tab_index(); ?>" class="user-submit"><?php _e( 'Register', 'bbpress' ); ?></button>
     33
     34                <?php bbp_user_register_fields(); ?>
     35
     36            </div>
     37        </fieldset>
     38    </form>
Note: See TracChangeset for help on using the changeset viewer.