X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-send_bonus.php;h=765f304021b046571d392a135ce4db24d29752a0;hb=99536b45392c43b78029af7eefa176de3cc6cd4e;hp=20514fd4ac11b58f13b240f5b52faf9c6d456a08;hpb=c92182154b4dcd68c2efff0bf0ff863cabd8d9de;p=mailer.git diff --git a/inc/modules/admin/what-send_bonus.php b/inc/modules/admin/what-send_bonus.php index 20514fd4ac..765f304021 100644 --- a/inc/modules/admin/what-send_bonus.php +++ b/inc/modules/admin/what-send_bonus.php @@ -17,7 +17,7 @@ * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * * Copyright (c) 2009 - 2011 by Mailer Developer Team * - * For more information visit: http://www.mxchange.org * + * 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 * @@ -44,22 +44,22 @@ if ((!defined('__SECURITY')) || (!isAdmin())) { addYouAreHereLink('admin', __FILE__); if (!isExtensionActive('order')) { - displayMessage(generateExtensionInactiveNotInstalledMessage('order')); + displayMessage('{%pipe,generateExtensionInactiveNotInstalledMessage=order%}'); return; } // END - if // 'mode' is not set by default -if (!isGetRequestParameterSet('mode')) { +if (!isGetRequestElementSet('mode')) { // Set empty mode to "select" - setGetRequestParameter('mode', 'select'); + setGetRequestElement('mode', 'select'); } // END - if if (isFormSent()) { // Deliver bonus mail - addNewBonusMail(postRequestArray(), getRequestParameter('mode')); + addNewBonusMail(postRequestArray(), getRequestElement('mode')); } else { // Store send mode - $content['mode'] = getRequestParameter('mode'); + $content['mode'] = getRequestElement('mode'); $content['html_select'] = ''; if (isExtensionActive('html_mail')) { @@ -68,7 +68,7 @@ if (isFormSent()) { } // END - if // Select template - switch(getRequestParameter('mode')) { + switch(getRequestElement('mode')) { case 'html': // HTML mails case 'normal': // Normal mails $template = 'admin_send_bonus_form';