X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=inline;f=inc%2Fmodules%2Fadmin%2Fwhat-del_user.php;h=00e7e343abccce83a1410c076863fec5d8a6acc3;hb=3c311675e341584ad25c561a5a65198f3717125f;hp=6fdc06eabbab21fcc784ab26704defad1ce075a1;hpb=cb20090aa0558f1b74f0e9f925f29819e8bb3a45;p=mailer.git diff --git a/inc/modules/admin/what-del_user.php b/inc/modules/admin/what-del_user.php index 6fdc06eabb..00e7e343ab 100644 --- a/inc/modules/admin/what-del_user.php +++ b/inc/modules/admin/what-del_user.php @@ -14,12 +14,10 @@ * $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, 2010 by Mailer Developer Team * - * For more information visit: http://www.mxchange.org * + * Copyright (c) 2009 - 2011 by Mailer Developer Team * + * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -43,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()) || ((isPostRequestParameterSet('del')) && (isPostRequestParameterSet(('reason'))))) { +if ((isFormSent()) || ((isFormSent('delete')) && (isPostRequestElementSet('reason')))) { // Is the account there? - if (fetchUserData(getRequestParameter('userid'))) { + if (fetchUserData(getRequestElement('userid'))) { // Delete user account - deleteUserAccount(getRequestParameter('userid'), postRequestParameter('reason')); + deleteUserAccount(getRequestElement('userid'), postRequestElement('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, '