]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_yoomedia_tm.php
Moved language strings, more EL in templates
[mailer.git] / inc / modules / admin / what-list_yoomedia_tm.php
index 617f41263ee7e9f6994c4e1020e76ea9daf643b5..47f708b9f6eef302f8f8cbbc94be5465c9c84975 100644 (file)
@@ -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);