Ticket #8755: #8755.patch
File #8755.patch, 2.8 KB (added by , 2 years ago) |
---|
-
public_html/wp-content/themes/codex-buddypress-org/widgets/login.php
18 18 <?php do_action( 'bp_before_sidebar_me' ) ?> 19 19 20 20 <div id="sidebar-me"> 21 <a href="<?php echo bp_loggedin_user_domain() ?>">21 <a href="<?php echo bp_loggedin_user_domain(); ?>"> 22 22 <?php bp_loggedin_user_avatar( 'type=thumb&width=40&height=40' ) ?> 23 23 </a> 24 24 25 <h4><?php echo bp_core_get_userlink( bp_loggedin_user_id() ) ?></h4>26 <a class="button logout" href="<?php echo wp_logout_url( bp_get_root_domain() ) ?>"><?php _e( 'Log Out', 'buddypress' )?></a>25 <h4><?php echo bp_core_get_userlink( bp_loggedin_user_id() ); ?></h4> 26 <a class="button logout" href="<?php echo wp_logout_url( bp_get_root_domain() ); ?>"><?php _e( 'Log Out', 'buddypress' ); ?></a> 27 27 28 28 <?php do_action( 'bp_sidebar_me' ) ?> 29 29 </div> … … 45 45 <p id="login-text"> 46 46 <?php _e( 'To start connecting please log in first.', 'buddypress' ) ?> 47 47 <?php if ( bp_get_signup_allowed() ) : ?> 48 <?php printf( __( ' You can also <a href="%s" title="Create an account">create an account</a>.', 'buddypress' ), site_url( BP_REGISTER_SLUG . '/' ) ) ?>48 <?php printf( __( ' You can also <a href="%s" title="Create an account">create an account</a>.', 'buddypress' ), site_url( BP_REGISTER_SLUG . '/' ) ); ?> 49 49 <?php endif; ?> 50 50 </p> 51 51 52 <form name="login-form" id="sidebar-login-form" class="standard-form" action="<?php echo site_url( 'wp-login.php', 'login_post' ) ?>" method="post">52 <form name="login-form" id="sidebar-login-form" class="standard-form" action="<?php echo site_url( 'wp-login.php', 'login_post' ); ?>" method="post"> 53 53 <label><?php _e( 'Username', 'buddypress' ) ?><br /> 54 54 <input type="text" name="log" id="sidebar-user-login" class="input" value="<?php echo attribute_escape(stripslashes($user_login)); ?>" /></label> 55 55 … … 56 56 <label><?php _e( 'Password', 'buddypress' ) ?><br /> 57 57 <input type="password" name="pwd" id="sidebar-user-pass" class="input" value="" /></label> 58 58 59 <p class="forgetmenot"><label><input name="rememberme" type="checkbox" id="sidebar-rememberme" value="forever" /> <?php _e( 'Remember Me', 'buddypress' ) ?></label></p>59 <p class="forgetmenot"><label><input name="rememberme" type="checkbox" id="sidebar-rememberme" value="forever" /> <?php _e( 'Remember Me', 'buddypress' ); ?></label></p> 60 60 61 61 <?php do_action( 'bp_sidebar_login_form' ) ?> 62 62 <input type="submit" name="wp-submit" id="sidebar-wp-submit" value="<?php esc_attr_e('Log In'); ?>" tabindex="100" />