X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fstats.php;h=376f2bacb24306cf73232841dba563d87ba638c0;hb=c9910f7559bb0cfd787b4fb73f864000f28e38cc;hp=40a8a2b872e54f97559d57b16522f3b7e3a6e6d0;hpb=a1c554a92888e0b017ba362817a67cc2849a9154;p=platal.git diff --git a/modules/stats.php b/modules/stats.php index 40a8a2b..376f2ba 100644 --- a/modules/stats.php +++ b/modules/stats.php @@ -46,18 +46,18 @@ class StatsModule extends PLModule ); } - function handler_stats(&$page) + function handler_stats($page) { $page->changeTpl('stats/index.tpl'); } - function handler_evolution(&$page, $jours = 365) + function handler_evolution($page, $jours = 365) { $page->changeTpl('stats/evolution_inscrits.tpl'); $page->assign('jours', $jours); } - function handler_graph_evo(&$page, $jours = 365) + function handler_graph_evo($page, $jours = 365) { define('DUREEJOUR', 24 * 3600); @@ -121,7 +121,7 @@ EOF2; exit; } - function handler_graph(&$page, $promo = null) + function handler_graph($page, $promo = null) { if ($promo == 'all') { // date de départ @@ -246,7 +246,7 @@ EOF2; exit; } - function handler_promos(&$page, $promo = null) + function handler_promos($page, $promo = null) { $page->changeTpl('stats/nb_by_promo.tpl'); @@ -273,7 +273,7 @@ EOF2; $page->assign('promo', $promo); } - function handler_coupures(&$page, $cp_id = null) + function handler_coupures($page, $cp_id = null) { $page->changeTpl('stats/coupure.tpl');