A lot code rewritten:
[mailer.git] / inc / modules / admin / what-list_surfbar_urls.php
index 8c7e9493fdc655abfde97b0d8424c0c8d4a225fb..105a80be10408af072a8072f97309cdce8c5ce46 100644 (file)
@@ -177,19 +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);
-               if (empty($content['url_lock_reason'])) $content['url_lock_reason'] = '---';
 
                // Load row template
                $OUT .= loadTemplate('admin_list_surfbar_urls_row', true, $content);
-
-               // Switch color
-               $SW = 3 - $SW;
        } // END - while
 
        // Load main template