X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-del_user.php;h=7ce0dedf6d04d793065263342124cc668867cca2;hb=cc59ea1cce3e0fafc2cc6c9e36142698cf2b58ef;hp=c455bbaed2336a7c4d9f4fc1e92a963240f03b15;hpb=06d179ae45f3f049003e6fe213249842b2a630fe;p=mailer.git diff --git a/inc/modules/admin/what-del_user.php b/inc/modules/admin/what-del_user.php index c455bbaed2..7ce0dedf6d 100644 --- a/inc/modules/admin/what-del_user.php +++ b/inc/modules/admin/what-del_user.php @@ -14,10 +14,9 @@ * $Date:: $ * * $Tag:: 0.2.1-FINAL $ * * $Author:: $ * - * Needs to be in all Files and every File needs "svn propset * - * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * + * Copyright (c) 2009 - 2011 by Mailer Developer Team * * For more information visit: http://www.mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -42,45 +41,41 @@ if ((!defined('__SECURITY')) || (!isAdmin())) { } // END - if // Display only title when no form was submitted -addMenuDescription('admin', __FILE__); +addYouAreHereLink('admin', __FILE__); // User exists.. -if ((isFormSent()) || ((isPostRequestElementSet('del')) && (isPostRequestElementSet(('reason'))))) { +if ((isFormSent()) || ((isFormSent('delete')) && (isPostRequestParameterSet('reason')))) { // Is the account there? - if (fetchUserData(getRequestElement('userid'))) { + if (fetchUserData(getRequestParameter('userid'))) { // Delete user account - deleteUserAccount(getRequestElement('userid'), postRequestElement('reason')); + deleteUserAccount(getRequestParameter('userid'), postRequestParameter('reason')); // Output message - loadTemplate('admin_settings_saved', false, getMessage('ADMIN_DEL_COMPLETED')); + displayMessage('{--ADMIN_DELETE_COMPLETED--}'); } else { // Account does not exists! - loadTemplate('admin_settings_saved', false, '