]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-del_transfer.php
A lot code rewritten:
[mailer.git] / inc / modules / admin / what-del_transfer.php
index b4fc851c70dac809360f927c6bb7ce7ed263f60f..0681df69ac15efbda2f6902a9ba601f456d9ec56 100644 (file)
@@ -75,10 +75,9 @@ ORDER BY
 $total = '0';
 if (SQL_NUMROWS($result) > 0) {
        // Output rows
-       $OUT = ''; $SW = 2;
+       $OUT = '';
        while ($content = SQL_FETCHARRAY($result)) {
                // Prepare data for the row template
-               $content['sw']         = $SW;
                $content['time_trans'] = generateDateTime($content['time_trans'], 3);
 
                // Load row template
@@ -86,7 +85,6 @@ if (SQL_NUMROWS($result) > 0) {
 
                // Sum points and switch colors
                $total += $content['points'];
-               $SW = 3 - $SW;
        } // END - while
 
        // Free memory
@@ -95,7 +93,7 @@ if (SQL_NUMROWS($result) > 0) {
        // Nothing for in and out
        $OUT = '<tr>
   <td colspan="6" align="center" class="bottom">
-    ' . loadTemplate('admin_settings_saved', true, getMessage('TRANSFER_NO_INOUT_TRANSFERS')) . '
+    ' . loadTemplate('admin_settings_saved', true, '{--TRANSFER_NO_INOUT_TRANSFERS--}') . '
   </td>
 </tr>';
 }
@@ -107,7 +105,7 @@ $content['rows'] = $OUT;
 $content['total'] = translateComma($total);
 
 // Set title
-$content['title'] = getMessage('TRANSFER_LIST_ALL');
+$content['title'] = '{--TRANSFER_LIST_ALL--}';
 
 // Show delete button here
 $content['delete'] = '<input type="reset" class="admin_reset" value="{--UNDO_SELECTIONS--}" />