* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
- * Copyright (c) 2009, 2010 by Mailer Developer Team *
- * For more information visit: http://www.mxchange.org *
+ * Copyright (c) 2009 - 2015 by Mailer Developer Team *
+ * 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 *
* *
* 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 *
-if (!isExtensionActive('yoomedia')) {
- loadTemplate('admin_settings_saved', false, generateExtensionInactiveNotInstalledMessage('yoomedia'));
+if (!isExtensionActive('bonus')) {
+ displayMessage('{%pipe,generateExtensionInactiveNotInstalledMessage=bonus%}');
// Add mail to exclude list
YOOMEDIA_EXCLUDE_MAIL(postRequestArray(), 'normal');
// Add mail to exclude list
YOOMEDIA_EXCLUDE_MAIL(postRequestArray(), 'normal');
// Remove mail from exclude list
YOOMEDIA_UNLIST_MAIL(postRequestArray(), 'normal');
}
// Remove mail from exclude list
YOOMEDIA_UNLIST_MAIL(postRequestArray(), 'normal');
}
} elseif (count($result[0]) < 7) {
// Error received so prepare error code
$code = YOOMEDIA_GET_ERRORCODE_FROM_RESULT($result);
// Output message
} elseif (count($result[0]) < 7) {
// Error received so prepare error code
$code = YOOMEDIA_GET_ERRORCODE_FROM_RESULT($result);
// Output message
- loadTemplate('admin_yoomedia_error', false, sprintf("{--ADMIN_YOOMEDIA_ERROR_%s--}", strtoupper(translateYooMediaError($code))));
- return false;
+ loadTemplate('admin_yoomedia_error', FALSE, sprintf('{--ADMIN_YOOMEDIA_ERROR_%s--}', strtoupper(translateYooMediaError($code))));
+ return FALSE;
// Check reload lock
$reload = YOOMEDIA_CHECK_RELOAD($entry['id'], $entry['reload'], 'textmail');
// Is this mail already sent?
// Check reload lock
$reload = YOOMEDIA_CHECK_RELOAD($entry['id'], $entry['reload'], 'textmail');
// Is this mail already sent?
} else {
// Never resentable unless manual removal
$entry['already'] = '{--ADMIN_YOOMEDIA_TEXTMAIL_MANUALLY_LOCKED--}';
}
// Load row template for displaying
} else {
// Never resentable unless manual removal
$entry['already'] = '{--ADMIN_YOOMEDIA_TEXTMAIL_MANUALLY_LOCKED--}';
}
// Load row template for displaying