A lot code rewritten:
[mailer.git] / inc / modules / admin / what-list_network_array_translation.php
index dfc1bdaf221e97e6ab87d49bfafb1f54aec07aa9..b37aee521166f8ad848bc2a0ca275752e44ae5f8 100644 (file)
@@ -106,11 +106,8 @@ ORDER BY
        // Do we have entries?
        if ($rows > 0) {
                // List all entries
-               $OUT = ''; $SW = 2;
+               $OUT = '';
                while ($row = SQL_FETCHARRAY($result)) {
-                       // Add color switching
-                       $row['sw'] = $SW;
-
                        // Add it to network if the type matches selected
                        if ($row['network_type_id'] == getRequestParameter('network_type_id')) {
                                // Matches, then add it for disabling this entry
@@ -119,7 +116,6 @@ ORDER BY
 
                        // Add row template and switch color
                        $OUT .= loadTemplate('admin_list_network_array_translation_row', true, $row);
-                       $SW = 3 - $SW;
                } // END - while
 
                // Prepare data for template