X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fstats.php;h=376f2bacb24306cf73232841dba563d87ba638c0;hb=67f95129c935e3844b9ecf996bb29f979ef3ca7f;hp=d931031d3091081abf0e26b0d8134545a5b77922;hpb=8def9eb54fa949fce13b35a4e26add2a8118e6aa;p=platal.git diff --git a/modules/stats.php b/modules/stats.php index d931031..376f2ba 100644 --- a/modules/stats.php +++ b/modules/stats.php @@ -1,6 +1,6 @@ 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');