A lot code rewritten:
[mailer.git] / inc / modules / admin / what-optimize.php
index cfdd26f694f6dc7317a8600f3a09b6f311d602cd..cbf68bdaebdfe534c45a473f3a031b2351eed7d5 100644 (file)
@@ -49,7 +49,7 @@ addMenuDescription('admin', __FILE__);
 $DATA = repairOptimizeDatabase();
 
 // Output rows
-$SW = 2; $gain_tabs = '0'; $OUT = '';
+$gain_tabs = '0'; $OUT = '';
 foreach ($DATA['tables'] as $row_array) {
        // Init variables
        $B1 = ''; $B2 = '';
@@ -72,7 +72,6 @@ foreach ($DATA['tables'] as $row_array) {
 
        // Prepare data for the row template
        $content = array(
-               'sw'  => $SW,
                'b1'  => $B1,
                'b2'  => $B2,
                'tpl' => $row_array[0],
@@ -84,7 +83,6 @@ foreach ($DATA['tables'] as $row_array) {
 
        // Load row template and switch color
        $OUT .= loadTemplate('admin_optimize_row', true, $content);
-       $SW = 3 - $SW;
 } // END - foreach
 
 // Remember rows