From 4447c1b5c774bd3a0d6c69e49a2e035ff634f284 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Mon, 27 Mar 2006 09:30:19 +0000 Subject: [PATCH] Suppression des output --- .../script/graph-statistiques-communications.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/htdocs/telephonie/script/graph-statistiques-communications.php b/htdocs/telephonie/script/graph-statistiques-communications.php index e38e760b85b..cc01f000c3c 100644 --- a/htdocs/telephonie/script/graph-statistiques-communications.php +++ b/htdocs/telephonie/script/graph-statistiques-communications.php @@ -30,6 +30,8 @@ require_once (DOL_DOCUMENT_ROOT."/telephonie/stats/graph/bar.class.php"); $img_root = DOL_DATA_ROOT."/graph/telephonie/"; +$verbose = 0; + $nbval = 14; /* @@ -112,9 +114,15 @@ $graphgain = new GraphBar ($db, $file); $graphgain->show_console = 0 ; $graphgain->width = 480 ; $graphgain->titre = "Nb minutes -> portables (milliers)"; -print $graphgain->titre."\n"; +if ($verbose) + print $graphgain->titre."\n"; $graphgain->GraphDraw($file, $kilomindurees_mob, $labels); + + + + + function _deal($db, $resql, $graph, &$data, &$labels) { global $nbval;