A lot code rewritten:
[mailer.git] / inc / modules / admin / what-list_surfbar_urls.php
index ed361f788654b74bab658b144cc5579b27412faf..105a80be10408af072a8072f97309cdce8c5ce46 100644 (file)
@@ -177,18 +177,14 @@ ORDER BY
 // Do we have some URLs left?
 if (SQL_NUMROWS($result) > 0) {
        // List all URLs
-       $OUT = ''; $SW = 2;
+       $OUT = '';
        while ($content = SQL_FETCHARRAY($result)) {
                // "Translate"/add content
-               $content['sw']              = $SW;
                $content['url_registered']  = generateDateTime($content['url_registered'], 2);
                $content['url_last_locked'] = generateDateTime($content['url_last_locked'], 2);
 
                // Load row template
                $OUT .= loadTemplate('admin_list_surfbar_urls_row', true, $content);
-
-               // Switch color
-               $SW = 3 - $SW;
        } // END - while
 
        // Load main template