A lot code rewritten:
[mailer.git] / inc / modules / admin / what-list_network_types.php
index c5a01a4b2998a8526e54c31c60e83b2594f52abe..c6ca40c374b3541728a0a1055c50eb60586746c7 100644 (file)
@@ -85,10 +85,9 @@ ORDER BY
        // Do we have entries?
        if (SQL_NUMROWS($result) > 0) {
                // List all entries
-               $OUT = ''; $SW = 2;
+               $OUT = '';
                while ($row = SQL_FETCHARRAY($result)) {
                        // Add/translate some data
-                       $row['sw'] = $SW;
                        $row['network_type_banner_url'] = fixNullEmptyToDashes($row['network_type_banner_url'], 3);
 
                        // Set disabled entry
@@ -96,7 +95,6 @@ ORDER BY
 
                        // Add row template and switch color
                        $OUT .= loadTemplate('admin_list_network_types_row', true, $row);
-                       $SW = 3 - $SW;
                } // END - while
 
                // Prepare data for template