X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-lock_sponsor.php;h=ed5d9ea4b51cb8c2272d8e1a111b86fed40e5fd8;hb=0176313718a3887a7d833d578142ae41d3a06a15;hp=9bc268ee728c277b817de33b330c2e73d0336609;hpb=6b13c5c64eebedd56683c78d799879e0dc618b21;p=mailer.git diff --git a/inc/modules/admin/what-lock_sponsor.php b/inc/modules/admin/what-lock_sponsor.php index 9bc268ee72..ed5d9ea4b5 100644 --- a/inc/modules/admin/what-lock_sponsor.php +++ b/inc/modules/admin/what-lock_sponsor.php @@ -16,7 +16,7 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009, 2010 by Mailer Developer Team * + * 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 * @@ -41,7 +41,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) { } // END - if // Add description as navigation point -addMenuDescription('admin', __FILE__); +addYouAreHereLink('admin', __FILE__); $message = ''; if (isGetRequestParameterSet('id')) { @@ -55,7 +55,7 @@ if (isGetRequestParameterSet('id')) { if (($content['status'] == 'CONFIRMED') || ($content['status'] == 'LOCKED')) { // Transfer data to constants $content['id'] = bigintval(getRequestParameter('id')); - $content['reason'] = secureString(postRequestParameter('reason')); + $content['reason'] = postRequestParameter('reason'); if (isFormSent()) { // Create messages @@ -106,7 +106,7 @@ if (isGetRequestParameterSet('id')) { $message = '{--ADMIN_SPONSOR_CANNOT_LOCK_PENDING_UNCINFIRMED_ACCOUNTS--}'; } } else { - // Sponsor not found! + // Sponsor not found $message = getMaskedMessage('ADMIN_SPONSOR_404', bigintval(getRequestParameter('id'))); } @@ -119,7 +119,7 @@ if (isGetRequestParameterSet('id')) { if (!empty($message)) { // Output message - loadTemplate('admin_settings_saved', false, $message); + displayMessage($message); } // END - if // [EOF]