X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-list_yoomedia_tm.php;h=52a78cbd4d4a4a60b0ab0b4c217fec818ff90eb9;hb=fafbcbfd8d1b5abf892fa98b0e34238fae17c69c;hp=d7e2c5244ff94a06e07fe9ff99ac51aae939aebe;hpb=db0c6702086eea2c44d0aae1702dc2e77a0afc4e;p=mailer.git diff --git a/inc/modules/admin/what-list_yoomedia_tm.php b/inc/modules/admin/what-list_yoomedia_tm.php index d7e2c5244f..52a78cbd4d 100644 --- a/inc/modules/admin/what-list_yoomedia_tm.php +++ b/inc/modules/admin/what-list_yoomedia_tm.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 * @@ -42,26 +42,23 @@ if ((!defined('__SECURITY')) || (!isAdmin())) { // Add description as navigation point addYouAreHereLink('admin', __FILE__); -if (!isExtensionActive('yoomedia')) { - displayMessage(generateExtensionInactiveNotInstalledMessage('yoomedia')); +if (!isExtensionActive('bonus')) { + displayMessage('{%pipe,generateExtensionInactiveNotInstalledMessage=bonus%}'); return; -} elseif (!isExtensionActive('bonus')) { - displayMessage(generateExtensionInactiveNotInstalledMessage('bonus')); - return; -} +} // END - if // Do actions here if (isFormSent()) { // Prepare mail for delivery YOOMEDIA_PREPARE_MAIL_DELIVERY(postRequestArray()); return; -} elseif (isPostRequestParameterSet('sent')) { +} elseif (isPostRequestElementSet('sent')) { // Sent mail YOOMEDIA_SEND_BONUS_MAIL(postRequestArray(), 'normal'); -} elseif (isFormSent('remove')) { +} elseif (isFormSent('do_delete')) { // Add mail to exclude list YOOMEDIA_EXCLUDE_MAIL(postRequestArray(), 'normal'); -} elseif (isPostRequestParameterSet('unlist')) { +} elseif (isPostRequestElementSet('unlist')) { // Remove mail from exclude list YOOMEDIA_UNLIST_MAIL(postRequestArray(), 'normal'); } @@ -118,7 +115,7 @@ foreach ($result as $entry) { } // END - if // Add reload lock - $entry['already'] = getMaskedMessage('ADMIN_YOOMEDIA_TEXTMAIL_SEND_AGAIN', $countdown); + $entry['already'] = '{%message,ADMIN_YOOMEDIA_TEXTMAIL_SEND_AGAIN=' . $countdown . '%}'; } else { // Never resentable unless manual removal $entry['already'] = '{--ADMIN_YOOMEDIA_TEXTMAIL_MANUALLY_LOCKED--}';