]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_cats.php
Rewrites/fixes in extension registration
[mailer.git] / inc / modules / admin / what-list_cats.php
index d8ba7c066790881808c14df4b833225d4a286aad..9659b0bde857366690c6c72b48b666a91d99d460 100644 (file)
@@ -62,7 +62,7 @@ if (isGetRequestParameterSet('userid')) {
 
                if (SQL_NUMROWS($result_cats) > 0) {
                        // List categories
-                       $cnt = 1; $OUT = ''; $SW = 2;
+                       $cnt = 1; $OUT = '';
                        while ($row = SQL_FETCHARRAY($result_cats)) {
                                // Merge both arrays
                                $content = merge_array($content, $row);
@@ -77,13 +77,12 @@ if (isGetRequestParameterSet('userid')) {
                                if (SQL_NUMROWS($result_user) == 1) $selection = '<font color="#00ee00">{--YES--}</div>';
 
                                // Add more elements
-                               $content['sw']  = $SW;
                                $content['cnt'] = $cnt;
                                $content['sel'] = $selection;
 
-                               // Load row template and switch colors + count up
+                               // Load row template and count up
                                $OUT .= loadTemplate('admin_list_cats_row', true, $content);
-                               $SW = 3 - $SW; $cnt++;
+                               $cnt++;
                        } // END - while
 
                        // Free memory