X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-list_yoomedia_tm.php;h=d7e2c5244ff94a06e07fe9ff99ac51aae939aebe;hb=0176313718a3887a7d833d578142ae41d3a06a15;hp=b8a0acb040ff2a3fec5b1a9b026b4dd65d922625;hpb=db1f357f01e1ebb16a31fdcd3e432a1d19b54ae3;p=mailer.git diff --git a/inc/modules/admin/what-list_yoomedia_tm.php b/inc/modules/admin/what-list_yoomedia_tm.php index b8a0acb040..d7e2c5244f 100644 --- a/inc/modules/admin/what-list_yoomedia_tm.php +++ b/inc/modules/admin/what-list_yoomedia_tm.php @@ -16,7 +16,7 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009, 2010 by Mailer Developer Team * + * Copyright (c) 2009 - 2011 by Mailer Developer Team * * For more information visit: http://www.mxchange.org * * * * This program is free software. You can redistribute it and/or modify * @@ -43,10 +43,10 @@ if ((!defined('__SECURITY')) || (!isAdmin())) { addYouAreHereLink('admin', __FILE__); if (!isExtensionActive('yoomedia')) { - loadTemplate('admin_settings_saved', false, generateExtensionInactiveNotInstalledMessage('yoomedia')); + displayMessage(generateExtensionInactiveNotInstalledMessage('yoomedia')); return; } elseif (!isExtensionActive('bonus')) { - loadTemplate('admin_settings_saved', false, generateExtensionInactiveNotInstalledMessage('bonus')); + displayMessage(generateExtensionInactiveNotInstalledMessage('bonus')); return; } @@ -69,7 +69,7 @@ if (isFormSent()) { // Enougth queries left? if (getConfig('yoomedia_requests_remain') == '0') { // Output message - loadTemplate('admin_settings_saved', false, '{--ADMIN_YOOMEDIA_REQUESTS_DEPLETED--}'); + displayMessage('{--ADMIN_YOOMEDIA_REQUESTS_DEPLETED--}'); // Abort here! return false; @@ -81,7 +81,7 @@ $result = YOOMEDIA_GET_PARSED_RESULT_TEXTMAILS(); // Sanity-check on result array if ((!is_array($result)) || (count($result) == 0) || (!isset($result[0]['id']))) { // Invalid result - loadTemplate('admin_settings_saved', false, '{--ADMIN_YOOMEDIA_INVALID_RESULT--}'); + displayMessage('{--ADMIN_YOOMEDIA_INVALID_RESULT--}'); return false; } elseif (count($result[0]) < 7) { // Error received so prepare error code