X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-send_bonus.php;h=a82b7d2191852867f32a5e657398633a4df46198;hb=59db3a67b3cf68aaad36a9a68196c5634066ab6d;hp=20514fd4ac11b58f13b240f5b52faf9c6d456a08;hpb=03486c08011d4c233e2455c8e5335ecc0818333f;p=mailer.git diff --git a/inc/modules/admin/what-send_bonus.php b/inc/modules/admin/what-send_bonus.php index 20514fd4ac..a82b7d2191 100644 --- a/inc/modules/admin/what-send_bonus.php +++ b/inc/modules/admin/what-send_bonus.php @@ -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';