* -------------------------------------------------------------------- *
* 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 *
// 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('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');
}