Naming convention applied: is outdated, use (not shortended word), fixed missing...
[mailer.git] / inc / modules / admin / what-config_bonus.php
index ba001891a380e926d6662dae5e085b9943cca960..0274e01bee27273a1f04b703bbb88785f51e3dda 100644 (file)
@@ -83,21 +83,21 @@ if (isFormSent()) {
 
        // Generate list
        $OUT = '<ol start="2">';
-       $cnt = '0';
+       $count = '0';
        foreach ($RANKS as $k => $rate) {
                if (!empty($rate)) {
                        // Print only when something is in
                        $OUT .= '<li><input type="text" name="rate[' . ($k + 2) . ']" class="form_field" size="4" maxlength="7" value="' . $rate . '" /> <div class="notice">({?POINTS?})</div></li>';
                } // END - if
-               $cnt++;
+               $count++;
        } // END - foreach
 
        // Maxmium entries
        $max = 10;
-       if ($cnt >= 8) $max = $cnt+3;
+       if ($count >= 8) $max = $count+3;
 
        // Add more empty fields
-       for ($i = $cnt; $i < $max; $i++) {
+       for ($i = $count; $i < $max; $i++) {
                $OUT .= '  <li><input type="text" name="rate[' . ($i+2) . ']" class="form_field" size="4" maxlength="7" /> <div class="notice">({?POINTS?})</div></li>';
        } // END - for
        $OUT .= '</ol>';