diff options
author | friendica <info@friendica.com> | 2015-03-04 02:35:20 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2015-03-04 02:35:20 -0800 |
commit | 684ce972fe7c6cb5e2d0cc7aea4df989a3734403 (patch) | |
tree | bc7de74fb66bf7c1dcd883f5e15894c78f29d292 /mod/removeaccount.php | |
parent | fb0f823be7142b715285ed8a2d18b98c240a630b (diff) | |
parent | e877eaed493c449cb3dbdf2bc2d4ec231628047e (diff) | |
download | volse-hubzilla-684ce972fe7c6cb5e2d0cc7aea4df989a3734403.tar.gz volse-hubzilla-684ce972fe7c6cb5e2d0cc7aea4df989a3734403.tar.bz2 volse-hubzilla-684ce972fe7c6cb5e2d0cc7aea4df989a3734403.zip |
Merge https://github.com/friendica/red into pending_merge
Diffstat (limited to 'mod/removeaccount.php')
-rw-r--r-- | mod/removeaccount.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mod/removeaccount.php b/mod/removeaccount.php index 18aaa2517..4505bbea0 100644 --- a/mod/removeaccount.php +++ b/mod/removeaccount.php @@ -9,6 +9,7 @@ function removeaccount_post(&$a) { return; if((! x($_POST,'qxz_password')) || (! strlen(trim($_POST['qxz_password'])))) + notice( t('Password not correct.') . EOL); return; if((! x($_POST,'verify')) || (! strlen(trim($_POST['verify'])))) @@ -22,6 +23,7 @@ function removeaccount_post(&$a) { $account_id = get_account_id(); if(! account_verify_password($account['account_email'],$_POST['qxz_password'])) + notice( t('Password not correct.') . EOL); return; if($account['account_password_changed'] != NULL_DATE) { @@ -55,7 +57,7 @@ function removeaccount_content(&$a) { '$basedir' => $a->get_baseurl(), '$hash' => $hash, '$title' => t('Remove This Account'), - '$desc' => t('This will completely remove this account including all its channels from the network. Once this has been done it is not recoverable.'), + '$desc' => array(t('WARNING: '), t('This account and all its channels will be completely removed from the network. '), t('This action is permanent and can not be undone!')), '$passwd' => t('Please enter your password for verification:'), '$global' => array('global', t('Remove this account, all its channels and all its channel clones from the network'), false, t('By default only the instances of the channels located on this hub will be removed from the network')), '$submit' => t('Remove Account') @@ -63,4 +65,4 @@ function removeaccount_content(&$a) { return $o; -}
\ No newline at end of file +} |