Guest User

Untitled

a guest
Jul 14th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.94 KB | None | 0 0
  1. <?php get_header( 'buddypress' ); ?>
  2.  
  3. <div id="header-title">
  4. <div class="wrapper">
  5.  
  6. <div class="page-title"><?php the_title(); ?></div>
  7.  
  8. </div><!-- wrapper -->
  9. </div><!-- #header-title -->
  10.  
  11. <div id="container">
  12.  
  13. <div class="wrapper">
  14.  
  15. <div id="content">
  16.  
  17. <?php do_action( 'bp_before_activation_page' ); ?>
  18.  
  19. <div class="page" id="activate-page">
  20.  
  21. <h3><?php if ( bp_account_was_activated() ) :
  22. _e( 'Account Activated', 'buddypress' );
  23. else :
  24. _e( 'Activate your Account', 'buddypress' );
  25. endif; ?></h3>
  26.  
  27. <?php do_action( 'template_notices' ); ?>
  28.  
  29. <?php do_action( 'bp_before_activate_content' ); ?>
  30.  
  31. <?php if ( bp_account_was_activated() ) : ?>
  32.  
  33. <?php if ( isset( $_GET['e'] ) ) : ?>
  34. <p><?php _e( 'Your account was activated successfully! Your account details have been sent to you in a separate email.', 'buddypress' ); ?></p>
  35. <?php else : ?>
  36. <p><?php _e( 'Your account was activated successfully! You can now log in with the username and password you provided when you signed up.', 'buddypress' ); ?></p>
  37. <?php endif; ?>
  38.  
  39. <?php else : ?>
  40.  
  41. <?php do_action( 'bp_before_activate_content' ); ?>
  42.  
  43. <p><?php _e( 'Please provide a valid activation key.', 'buddypress' ); ?></p>
  44.  
  45. <form action="" method="get" class="standard-form" id="activation-form">
  46.  
  47. <label for="key"><?php _e( 'Activation Key:', 'buddypress' ); ?></label>
  48. <input type="text" name="key" id="key" value="<?php echo esc_attr( bp_get_current_activation_key() ); ?>" />
  49.  
  50. <p class="submit">
  51. <input type="submit" name="submit" value="<?php _e( 'Activate', 'buddypress' ); ?>" />
  52. </p>
  53.  
  54. </form>
  55.  
  56. <?php endif; ?>
  57.  
  58. <?php do_action( 'bp_after_activate_content' ); ?>
  59.  
  60. </div><!-- .page -->
  61.  
  62. <?php do_action( 'bp_after_activation_page' ); ?>
  63.  
  64.  
  65. </div><!-- #content -->
  66.  
  67. </div> <!-- #container -->
  68.  
  69. </div><!-- wrapper -->
  70.  
  71. <?php get_footer( 'buddypress' ); ?>
Add Comment
Please, Sign In to add comment