]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_surfbar_actions.php
A lot code rewritten:
[mailer.git] / inc / modules / admin / what-list_surfbar_actions.php
index c2908405e1a1ca5cd872eb707250fc01ffd26b56..3c9061ad4000ab2f7ebdf60321ed3d3ff859bcff 100644 (file)
@@ -60,7 +60,7 @@ ORDER BY
 // Entries found?
 if (SQL_NUMROWS($result) > 0) {
        // List all entries
-       $OUT = ''; $SW = 2;
+       $OUT = '';
        while ($content = SQL_FETCHARRAY($result)) {
                // "Translate" some data
                $content['actions_action'] = getMessage(sprintf("MEMBER_SURFBAR_ACTION_%s_SUBMIT", $content['actions_action']));
@@ -74,14 +74,8 @@ if (SQL_NUMROWS($result) > 0) {
                        $content['actions_new_status'] = '{--SURFBAR_URL_STATUS_NONE--}';
                }
 
-               // Add color
-               $content['sw'] = $SW;
-
                // Load row template
                $OUT .= loadTemplate('admin_list_surfbar_actions_row', true, $content);
-
-               // Switch color
-               $SW = 3 - $SW;
        } // END - while
 
        // Load main template