From: Matteo Nastasi (mop) Date: Thu, 26 Sep 2013 05:27:52 +0000 (+0200) Subject: stat-day.php: add total label at the end of each match X-Git-Tag: v4.10.0^2~19 X-Git-Url: http://mop.ddnsfree.com/gitweb/?p=brisk.git;a=commitdiff_plain;h=c33375c2aaad1aefb69e269be1a95d3f737027d6 stat-day.php: add total label at the end of each match --- diff --git a/web/briskin5/Obj/briskin5.phh b/web/briskin5/Obj/briskin5.phh index 3cc4371..525f4d8 100644 --- a/web/briskin5/Obj/briskin5.phh +++ b/web/briskin5/Obj/briskin5.phh @@ -2,7 +2,7 @@ /* * brisk - briskin5.phh * - * Copyright (C) 2006-2012 Matteo Nastasi + * Copyright (C) 2006-2013 Matteo Nastasi * mailto: nastasi@alternativeoutput.it * matteo.nastasi@milug.org * web: http://www.alternativeoutput.it diff --git a/web/briskin5/stat-day.php b/web/briskin5/stat-day.php index 1678120..ff991e2 100644 --- a/web/briskin5/stat-day.php +++ b/web/briskin5/stat-day.php @@ -43,7 +43,10 @@ $G_base = "../"; $mlang_stat_day = array( 'normal match'=> array( 'it' => 'Partite normali', 'en' => 'Normal matches' ), 'special match' => array( 'it' => 'Partite speciali', - 'en' => 'Special matches') + 'en' => 'Special matches'), + + 'info_total'=> array( 'it' => 'totali', + 'en' => 'En totali') ); @@ -369,7 +372,7 @@ SELECT SUM(p.pts) AS pts FROM %sbin5_matches AS m, %sbin5_games AS g, %sbin5_poi $tot_obj = pg_fetch_object($tot_pg, 0); fprintf($fpexp, "%d", $tot_obj->pts); } - fprintf($fpexp, "\n"); + fprintf($fpexp, "%s\n", $mlang_stat_day['info_total'][$G_lang]); fprintf($fpexp, "\n"); } if ($m < $tmt_n)