[ Index ] |
PHP Cross Reference of BuddyPress |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * BuddyPress - Members Activate 4 * 5 * @since 3.0.0 6 * @version 3.2.0 7 */ 8 ?> 9 10 <?php bp_nouveau_activation_hook( 'before', 'page' ); ?> 11 12 <div class="page" id="activate-page"> 13 14 <?php bp_nouveau_template_notices(); ?> 15 16 <?php bp_nouveau_activation_hook( 'before', 'content' ); ?> 17 18 <?php if ( bp_account_was_activated() ) : ?> 19 20 <?php if ( isset( $_GET['e'] ) ) : ?> 21 <p><?php esc_html_e( 'Your account was activated successfully! Your account details have been sent to you in a separate email.', 'buddypress' ); ?></p> 22 <?php else : ?> 23 <p><?php esc_html_e( 'Your account was activated successfully! You can now log in with the username and password you provided when you signed up.', 'buddypress' ); ?></p> 24 <?php endif; ?> 25 26 <?php 27 printf( 28 '<p><a href="%1$s">%2$s</a></p>', 29 esc_url( wp_login_url( bp_get_root_domain() ) ), 30 esc_html__( 'Log In', 'buddypress' ) 31 ); 32 ?> 33 34 <?php else : ?> 35 36 <p><?php esc_html_e( 'Please provide a valid activation key.', 'buddypress' ); ?></p> 37 38 <form action="" method="post" class="standard-form" id="activation-form"> 39 40 <label for="key"><?php esc_html_e( 'Activation Key:', 'buddypress' ); ?></label> 41 <input type="text" name="key" id="key" value="<?php echo esc_attr( bp_get_current_activation_key() ); ?>" /> 42 43 <p class="submit"> 44 <input type="submit" name="submit" value="<?php echo esc_attr_x( 'Activate', 'button', 'buddypress' ); ?>" /> 45 </p> 46 47 </form> 48 49 <?php endif; ?> 50 51 <?php bp_nouveau_activation_hook( 'after', 'content' ); ?> 52 53 </div><!-- .page --> 54 55 <?php bp_nouveau_activation_hook( 'after', 'page' ); ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Tue Mar 19 01:01:09 2024 | Cross-referenced by PHPXref 0.7.1 |