]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/what-stats.php
Naming convention applied: is outdated, use (not shortended word), fixed missing...
[mailer.git] / inc / modules / guest / what-stats.php
index 34ea36f1fd5e3350679123e9cb4d9677f62288c8..31a56e8b31be7368d55a639140f518ff0b39d6ca 100644 (file)
@@ -14,8 +14,6 @@
  * $Date::                                                            $ *
  * $Tag:: 0.2.1-FINAL                                                 $ *
  * $Author::                                                          $ *
- * Needs to be in all Files and every File needs "svn propset           *
- * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
  * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
@@ -125,7 +123,7 @@ switch (getConfig('guest_stats')) {
 
                // Generate monthly stats
                $SW = 2; $r2 = ' right'; $l = 'll'; $r = 'lr'; $OUT = '';
-               foreach ($months as $month => $cnt) {
+               foreach ($months as $month => $count) {
                        if ($SW == 2) $OUT .= '<tr>';
 
                        // Prepare data for template
@@ -134,7 +132,7 @@ switch (getConfig('guest_stats')) {
                                'm_descr'  => $GLOBALS['month_descr'][$month],
                                'r_class'  => $r,
                                'r2_class' => $r2,
-                               'cnt'      => $cnt
+                               'cnt'      => $count
                        );
 
                        // Load row template
@@ -154,11 +152,11 @@ switch (getConfig('guest_stats')) {
 
                // Generate category stats
                $OUT = '';
-               foreach ($cat_cnt as $id => $cnt) {
+               foreach ($cat_cnt as $id => $count) {
                        // Prepare data for the template
                        $data = array(
                                'cat' => $cats[$id],
-                               'cnt' => $cnt,
+                               'cnt' => $count,
                        );
 
                        // Load row template and switch colors