2012-07-11 16:28:51 +00:00
< ? php get_header ( 'buddypress' ); ?>
< div id = " content " >
< div class = " padder " >
2012-08-08 16:49:22 +00:00
< ? php do_action ( 'bp_before_activation_page' ) ?>
2012-07-11 16:28:51 +00:00
< div class = " page " id = " activate-page " >
< ? php if ( bp_account_was_activated () ) : ?>
2012-08-08 16:49:22 +00:00
< h2 class = " widgettitle " >< ? php _e ( 'Account Activated' , 'buddypress' ) ?> </h2>
2012-07-11 16:28:51 +00:00
2012-08-08 16:49:22 +00:00
< ? php do_action ( 'bp_before_activate_content' ) ?>
2012-07-11 16:28:51 +00:00
< ? php if ( isset ( $_GET [ 'e' ] ) ) : ?>
2012-08-08 16:49:22 +00:00
< p >< ? php _e ( 'Your account was activated successfully! Your account details have been sent to you in a separate email.' , 'buddypress' ) ?> </p>
2012-07-11 16:28:51 +00:00
< ? php else : ?>
2012-08-08 16:49:22 +00:00
< 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>
2012-07-11 16:28:51 +00:00
< ? php endif ; ?>
< ? php else : ?>
2012-08-08 16:49:22 +00:00
< h3 >< ? php _e ( 'Activate your Account' , 'buddypress' ) ?> </h3>
2012-07-11 16:28:51 +00:00
2012-08-08 16:49:22 +00:00
< ? php do_action ( 'bp_before_activate_content' ) ?>
2012-07-11 16:28:51 +00:00
2012-08-08 16:49:22 +00:00
< p >< ? php _e ( 'Please provide a valid activation key.' , 'buddypress' ) ?> </p>
2012-07-11 16:28:51 +00:00
< form action = " " method = " get " class = " standard-form " id = " activation-form " >
2012-08-08 16:49:22 +00:00
< label for = " key " >< ? php _e ( 'Activation Key:' , 'buddypress' ) ?> </label>
2012-07-11 16:28:51 +00:00
< input type = " text " name = " key " id = " key " value = " " />
< p class = " submit " >
2012-08-08 16:49:22 +00:00
< input type = " submit " name = " submit " value = " <?php _e( 'Activate', 'buddypress' ) ?> " />
2012-07-11 16:28:51 +00:00
</ p >
</ form >
< ? php endif ; ?>
2012-08-08 16:49:22 +00:00
< ? php do_action ( 'bp_after_activate_content' ) ?>
2012-07-11 16:28:51 +00:00
</ div ><!-- . page -->
2012-08-08 16:49:22 +00:00
< ? php do_action ( 'bp_after_activation_page' ) ?>
2012-07-11 16:28:51 +00:00
</ div ><!-- . padder -->
</ div ><!-- #content -->
2012-08-08 16:49:22 +00:00
< ? php get_sidebar ( 'buddypress' ) ?>
2012-07-11 16:28:51 +00:00
< ? php get_footer ( 'buddypress' ); ?>