X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-list_primera.php;h=b49af4ed8b08773e9a22ca15eec7c7897667f033;hb=1e6a6da913a6c4cc58b4360aa2283aedb2a6744c;hp=cb9969bc2dee77ab78b7eee076b61442dc7e3e5f;hpb=222b9cab2b3fb3c8fb01ff524f5d1d7cfbcb61e7;p=mailer.git diff --git a/inc/modules/admin/what-list_primera.php b/inc/modules/admin/what-list_primera.php index cb9969bc2d..b49af4ed8b 100644 --- a/inc/modules/admin/what-list_primera.php +++ b/inc/modules/admin/what-list_primera.php @@ -58,26 +58,23 @@ ORDER BY // Are there some entries to display? if (SQL_NUMROWS($result) > 0) { // List all entries - $OUT = ''; $SW = 2; + $OUT = ''; while ($content = SQL_FETCHARRAY($result)) { // Translate some data and add color - $content['sw'] = $SW; $content['primera_timestamp'] = generateDateTime($content['primera_timestamp'], 2); // Fix empty message and status - if (empty($content['primera_api_message'])) $content['primera_api_message'] = '---'; if (empty($content['primera_api_status'])) $content['primera_api_status'] = 'OK'; // Append it and switch colors $OUT .= loadTemplate('admin_list_primera_row', true, $content); - $SW = 3 - $SW; } // END - while // Load main template loadTemplate('admin_list_primera_main', false, $OUT); } else { // Nothing to display! - loadTemplate('admin_settings_saved', false, getMessage('ADMIN_PRIMERA_NO_TRANSFERS')); + loadTemplate('admin_settings_saved', false, '{--ADMIN_PRIMERA_NO_TRANSFERS--}'); } // Free the result