]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_networks.php
A lot code rewritten:
[mailer.git] / inc / modules / admin / what-list_networks.php
index fd99cc6563fadbb5aa9b37e2d217d8d98b31d330..62123ad33c6d1dbd281c4ba5548655a05830d5df 100644 (file)
@@ -74,23 +74,17 @@ ORDER BY
 // Do we have entries?
 if (SQL_NUMROWS($result) > 0) {
        // List all
-       $SW = 2; $OUT = '';
+       $OUT = '';
        while ($content = SQL_FETCHARRAY($result)) {
-               // Add color switching
-               $content['sw'] = $SW;
-
                // Load row template
                $OUT .= loadTemplate('admin_list_networks_row', true, $content);
-
-               // Switch color
-               $SW = 3 - $SW;
        } // END - while
 
        // Load main template
        loadTemplate('admin_list_networks', false, $OUT);
 } else {
        // Display a message that there are sponsor networks supported, yet
-       loadTemplate('admin_settings_saved', false, getMessage('ADMIN_NETWORK_NONE_SUPPORTED'));
+       loadTemplate('admin_settings_saved', false, '{--ADMIN_NETWORK_NONE_SUPPORTED--}');
 }
 
 // Free result