]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-surfbar_list.php
A lot code rewritten:
[mailer.git] / inc / modules / member / what-surfbar_list.php
index 83210ee9d7512cd89dcd8bb790dc62e5d9632dd2..2b1de42a38172a51a333ab4f90536b61a010c3c5 100644 (file)
@@ -70,10 +70,9 @@ if ((isFormSent()) && (isPostRequestParameterSet(('action'))) && (isPostRequestP
        }
 } elseif (count($urlArray) > 0) {
        // List all URLs
-       $OUT = ''; $SW = 2;
+       $OUT = '';
        foreach ($urlArray as $id => $content) {
                // "Translate"/insert data
-               $content['sw'] = $SW;
                if ($content['views_total'] > 0) {
                        // Include link to stats
                        $content['views_total'] = '[<a href="{%url=modules.php?module=login&amp;what=surfbar_list%}">' . translateComma($content['views_total']) . '</a>]';
@@ -84,9 +83,6 @@ if ((isFormSent()) && (isPostRequestParameterSet(('action'))) && (isPostRequestP
 
                // Load row template
                $OUT .= loadTemplate('member_surfbar_list_row', true, $content);
-
-               // Switch color
-               $SW = 3 - $SW;
        } // END - if
 
        // Load main template