16 lines
No EOL
932 B
PHP
16 lines
No EOL
932 B
PHP
|
|
<header class="entry-header">
|
|
<?php echo SwpmUtils::_('Delete Account'); ?>
|
|
</header>
|
|
<?php if (!empty($msg)) echo '<p>' . $msg . '</p>'; ?>
|
|
<p style="color:red;">
|
|
<?php echo SwpmUtils::_('You are about to delete an account. This will delete user data associated with this account. '); ?>
|
|
<?php echo SwpmUtils::_('It will also delete associated WordPress user account.'); ?>
|
|
<?php echo SwpmUtils::_('(NOTE: for safety, we do not allow deletion of any associated WordPress account with administrator role).'); ?>
|
|
<?php echo SwpmUtils::_('Continue?'); ?>
|
|
</p>
|
|
<form method="post">
|
|
<p><?php echo SwpmUtils::_('Password: '); ?><input name="account_delete_confirm_pass" type="password"></p>
|
|
<p><input type="submit" name="confirm" value="<?php echo SwpmUtils::_('Confirm Account Deletion'); ?>" /> </p>
|
|
<?php wp_nonce_field('swpm_account_delete_confirm', 'account_delete_confirm_nonce'); ?>
|
|
</form>
|