- Timestamp:
- 02/23/2012 06:18:39 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bp-default/members/single/settings/delete-account.php
r5737 r5829 50 50 <h3><?php _e( 'Delete Account', 'buddypress' ); ?></h3> 51 51 52 <div id="message" class="info"> 53 54 <?php if ( bp_is_my_profile() ) : ?> 55 56 <p><?php _e( 'Deleting your account will delete all of the content you have created. It will be completely irrecoverable.', 'buddypress' ); ?></p> 57 58 <?php else : ?> 59 60 <p><?php _e( 'Deleting this account will delete all of the content it has created. It will be completely irrecoverable.', 'buddypress' ); ?></p> 61 62 <?php endif; ?> 63 64 </div> 65 52 66 <form action="<?php echo bp_displayed_user_domain() . bp_get_settings_slug() . '/delete-account'; ?>" name="account-delete-form" id="account-delete-form" class="standard-form" method="post"> 53 54 <div id="message" class="info">55 <p><?php _e( 'WARNING: Deleting your account will completely remove ALL content associated with it. There is no way back, please be careful with this option.', 'buddypress' ); ?></p>56 </div>57 58 <input type="checkbox" name="delete-account-understand" id="delete-account-understand" value="1" onclick="if(this.checked) { document.getElementById('delete-account-button').disabled = ''; } else { document.getElementById('delete-account-button').disabled = 'disabled'; }" /> <?php _e( 'I understand the consequences of deleting my account.', 'buddypress' ); ?>59 67 60 68 <?php do_action( 'bp_members_delete_account_before_submit' ); ?> 61 69 70 <label> 71 <input type="checkbox" name="delete-account-understand" id="delete-account-understand" value="1" onclick="if(this.checked) { document.getElementById('delete-account-button').disabled = ''; } else { document.getElementById('delete-account-button').disabled = 'disabled'; }" /> 72 <?php _e( 'I understand the consequences.', 'buddypress' ); ?> 73 </label> 74 62 75 <div class="submit"> 63 <input type="submit" disabled="disabled" value="<?php _e( 'Delete MyAccount', 'buddypress' ); ?>" id="delete-account-button" name="delete-account-button" />76 <input type="submit" disabled="disabled" value="<?php _e( 'Delete Account', 'buddypress' ); ?>" id="delete-account-button" name="delete-account-button" /> 64 77 </div> 65 78 … … 67 80 68 81 <?php wp_nonce_field( 'delete-account' ); ?> 82 69 83 </form> 70 84
Note: See TracChangeset
for help on using the changeset viewer.