X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-del_user.php;h=7ce0dedf6d04d793065263342124cc668867cca2;hb=cc59ea1cce3e0fafc2cc6c9e36142698cf2b58ef;hp=12e8a867a049f7ce56d2df1f5ea7ef5a4f53d447;hpb=c01694397f34eee38b8f5933dbb385c122c79e50;p=mailer.git diff --git a/inc/modules/admin/what-del_user.php b/inc/modules/admin/what-del_user.php index 12e8a867a0..7ce0dedf6d 100644 --- a/inc/modules/admin/what-del_user.php +++ b/inc/modules/admin/what-del_user.php @@ -1,7 +1,7 @@ ".sprintf(getMessage('ADMIN_MEMBER_404'), getRequestElement('userid')).""); + loadTemplate('admin_settings_unsaved', false, '{%message,ADMIN_MEMBER_404=' . bigintval(getRequestParameter('userid')) . '%}'); } -} elseif (isPostRequestElementSet('no')) { +} elseif (isPostRequestParameterSet('no')) { // Do not delete him... - redirectToUrl(adminCreateUserLink(getRequestElement('userid'))); -} elseif (!isGetRequestElementSet('userid')) { + redirectToUrl(adminCreateUserLink(getRequestParameter('userid'))); +} elseif (!isGetRequestParameterSet('userid')) { // Output selection form with all confirmed user accounts listed addMemberSelectionBox(); } else { // Realy want to delete? - if (fetchUserData(getRequestElement('userid'))) { + if (fetchUserData(getRequestParameter('userid'))) { // Prepare content $content = array( - 'email' => generateEmailLink(getUserData('email'), 'user_data'), - 'surname' => getUserData('surname'), - 'family' => getUserData('family'), - 'header' => sprintf(getMessage('ADMIN_HEADER_DEL_ACCOUNT'), getRequestElement('userid')), - 'text' => sprintf(getMessage('ADMIN_TEXT_DEL_ACCOUNT'), getRequestElement('userid')), - 'userid' => getRequestElement('userid') + 'email' => generateEmailLink(getUserData('email'), 'user_data'), + 'userid' => bigintval(getRequestParameter('userid')) ); // Display form - loadTemplate('admin_del_user', false, $content); + loadTemplate('admin_delete_user', false, $content); } else { // Account does not exists! - loadTemplate('admin_settings_saved', false, "