- Timestamp:
- 04/29/2024 06:50:42 PM (10 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-legacy/buddypress/members/single/settings/general.php
r13443 r13822 11 11 do_action( 'bp_before_member_settings_template' ); ?> 12 12 13 <h2 class="bp-screen-reader-text"><?php 14 /* translators: accessibility text */ 15 _e( 'Account settings', 'buddypress' ); 16 ?></h2> 13 <h2 class="bp-screen-reader-text"> 14 <?php 15 /* translators: accessibility text */ 16 esc_html_e( 'Account settings', 'buddypress' ); 17 ?> 18 </h2> 17 19 18 20 <form action="<?php bp_displayed_user_link( array( bp_get_settings_slug(), 'general' ) ); ?>" method="post" class="standard-form" id="settings-form"> … … 20 22 <?php if ( ! is_super_admin() ) : ?> 21 23 22 <label for="pwd"><?php _e( 'Current Password <span>(required to update email or change current password)</span>', 'buddypress' ); ?></label>23 <input type="password" name="pwd" id="pwd" size="16" value="" class="settings-input small" <?php bp_form_field_attributes( 'password' ); ?>/> <a href="<?php echo wp_lostpassword_url(); ?>"><?php_e( 'Lost your password?', 'buddypress' ); ?></a>24 <label for="pwd"><?php esc_html_e( 'Current Password <span>(required to update email or change current password)</span>', 'buddypress' ); ?></label> 25 <input type="password" name="pwd" id="pwd" size="16" value="" class="settings-input small" <?php bp_form_field_attributes( 'password' ); ?>/> <a href="<?php echo esc_url( wp_lostpassword_url() ); ?>"><?php esc_html_e( 'Lost your password?', 'buddypress' ); ?></a> 24 26 25 27 <?php endif; ?> 26 28 27 <label for="email"><?php _e( 'Account Email', 'buddypress' ); ?></label>28 <input type="email" name="email" id="email" value="<?php echo bp_get_displayed_user_email(); ?>" class="settings-input" <?php bp_form_field_attributes( 'email' ); ?>/>29 <label for="email"><?php esc_html_e( 'Account Email', 'buddypress' ); ?></label> 30 <input type="email" name="email" id="email" value="<?php echo esc_attr( bp_get_displayed_user_email() ); ?>" class="settings-input" <?php bp_form_field_attributes( 'email' ); ?>/> 29 31 30 <label for="pass1"><?php _e( 'Change Password <span>(leave blank for no change)</span>', 'buddypress' ); ?></label>32 <label for="pass1"><?php printf( esc_html__( 'Change Password %s', 'buddypress' ), '<span>' . esc_html__( '(leave blank for no change)', 'buddypress' ) . '</span>' ); ?></label> 31 33 <input type="password" name="pass1" id="pass1" size="16" value="" class="settings-input small password-entry" <?php bp_form_field_attributes( 'password' ); ?>/> 32 34 <div id="pass-strength-result"></div> 33 <label for="pass2"><?php _e( 'Repeat New Password', 'buddypress' );35 <label for="pass2"><?php esc_html_e( 'Repeat New Password', 'buddypress' ); 34 36 ?></label> 35 37 <input type="password" name="pass2" id="pass2" size="16" value="" class="settings-input small password-entry-confirm" <?php bp_form_field_attributes( 'password' ); ?>/>
Note: See TracChangeset
for help on using the changeset viewer.