Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/24/2014 01:11:02 AM (11 years ago)
Author:
boonebgorges
Message:

Add password strength meters to registration and settings panels.

See #5775

Props SGr33n

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-legacy/buddypress/members/register.php

    r8683 r8686  
    4040                <label for="signup_password"><?php _e( 'Choose a Password', 'buddypress' ); ?> <?php _e( '(required)', 'buddypress' ); ?></label>
    4141                <?php do_action( 'bp_signup_password_errors' ); ?>
    42                 <input type="password" name="signup_password" id="signup_password" value="" />
     42                <input type="password" name="signup_password" id="signup_password" value="" class="password-entry" />
     43                <div id="pass-strength-result"></div>
    4344
    4445                <label for="signup_password_confirm"><?php _e( 'Confirm Password', 'buddypress' ); ?> <?php _e( '(required)', 'buddypress' ); ?></label>
    4546                <?php do_action( 'bp_signup_password_confirm_errors' ); ?>
    46                 <input type="password" name="signup_password_confirm" id="signup_password_confirm" value="" />
     47                <input type="password" name="signup_password_confirm" id="signup_password_confirm" value="" class="password-entry-confirm" />
    4748
    4849                <?php do_action( 'bp_account_details_fields' ); ?>
Note: See TracChangeset for help on using the changeset viewer.