X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-list_yoomedia_tm.php;h=47f708b9f6eef302f8f8cbbc94be5465c9c84975;hb=22f132c8d6314f76c69dff58ec0dac21f5ca3bf2;hp=617f41263ee7e9f6994c4e1020e76ea9daf643b5;hpb=04b69ac9f33369cbf654396c4a42cb1fff710ff4;p=mailer.git diff --git a/inc/modules/admin/what-list_yoomedia_tm.php b/inc/modules/admin/what-list_yoomedia_tm.php index 617f41263e..47f708b9f6 100644 --- a/inc/modules/admin/what-list_yoomedia_tm.php +++ b/inc/modules/admin/what-list_yoomedia_tm.php @@ -95,12 +95,10 @@ if ((!is_array($result)) || (count($result) == 0) || (!isset($result[0]['id']))) } // Prepare all entries -$OUT = ''; $SW = 2; +$OUT = ''; foreach ($result as $entry) { // Translate some data $entry['pay'] = translateComma($entry['pay'], true, 5); - $entry['remain'] = translateComma($entry['remain']); - $entry['sw'] = $SW; // Check reload lock $reload = YOOMEDIA_CHECK_RELOAD($entry['id'], $entry['reload'], 'textmail'); @@ -125,7 +123,7 @@ foreach ($result as $entry) { $entry['already'] = getMaskedMessage('ADMIN_YOOMEDIA_TEXTMAIL_SEND_AGAIN', createFancyTime($countdown)); } else { // Never resentable unless manual removal - $entry['already'] = getMessage('ADMIN_YOOMEDIA_TEXTMAIL_MANUALLY_LOCKED'); + $entry['already'] = '{--ADMIN_YOOMEDIA_TEXTMAIL_MANUALLY_LOCKED--}'; } // Load row template for displaying @@ -134,10 +132,7 @@ foreach ($result as $entry) { // Load row template with buttons $OUT .= loadTemplate('admin_list_yoomedia_tm_row', true, $entry); } - - // Switch color - $SW = 3 - $SW; -} // END - if +} // END - foreach // Load main template loadTemplate('admin_list_yoomedia_tm', false, $OUT);