From 8c55c3cfc939690360d6807aea2c241bf75856cc Mon Sep 17 00:00:00 2001 From: esanchezm Date: Mon, 16 Jun 2008 13:53:56 +0000 Subject: [PATCH] 2008-06-15 Esteban Sanchez * reporting/fgraph.php: Fixed a regresion bug with progress bar mode. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@865 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 4 ++++ pandora_console/reporting/fgraph.php | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index ebf6e6fa4f..7593b0e469 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,7 @@ +2008-06-15 Esteban Sanchez + + * reporting/fgraph.php: Fixed a regresion bug with progress bar mode. + 2008-06-15 Esteban Sanchez * reporting/fgraph.php: Fixed bug with graphic_combined_module() that diff --git a/pandora_console/reporting/fgraph.php b/pandora_console/reporting/fgraph.php index d22b98afd5..a45fb23deb 100644 --- a/pandora_console/reporting/fgraph.php +++ b/pandora_console/reporting/fgraph.php @@ -1988,6 +1988,7 @@ $value3 = get_parameter("value3", 0); $stacked = get_parameter ("stacked", 0); $date = get_parameter ("date"); $graphic_type = (string) get_parameter ('tipo'); +$mode = get_parameter ("mode", 1); if ($graphic_type) { switch ($graphic_type) { @@ -2043,7 +2044,7 @@ if ($graphic_type) { // graphic_test ($id, $period, $intervalo, $label, $width, $height); case "progress": $percent = $_GET["percent"]; - progress_bar($percent,$width,$height); + progress_bar ($percent,$width,$height, $mode); break; case "odo_tactic": odo_tactic ( $value1, $value2, $value3 );