2008-06-15 Esteban Sanchez <estebans@artica.es>

* 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
This commit is contained in:
Esteban Sanchez 2008-06-16 13:53:56 +00:00
parent abfb3e73be
commit d3a1f45c1b
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2008-06-15 Esteban Sanchez <estebans@artica.es>
* reporting/fgraph.php: Fixed a regresion bug with progress bar mode.
2008-06-15 Esteban Sanchez <estebans@artica.es> 2008-06-15 Esteban Sanchez <estebans@artica.es>
* reporting/fgraph.php: Fixed bug with graphic_combined_module() that * reporting/fgraph.php: Fixed bug with graphic_combined_module() that

View File

@ -1988,6 +1988,7 @@ $value3 = get_parameter("value3", 0);
$stacked = get_parameter ("stacked", 0); $stacked = get_parameter ("stacked", 0);
$date = get_parameter ("date"); $date = get_parameter ("date");
$graphic_type = (string) get_parameter ('tipo'); $graphic_type = (string) get_parameter ('tipo');
$mode = get_parameter ("mode", 1);
if ($graphic_type) { if ($graphic_type) {
switch ($graphic_type) { switch ($graphic_type) {
@ -2043,7 +2044,7 @@ if ($graphic_type) {
// graphic_test ($id, $period, $intervalo, $label, $width, $height); // graphic_test ($id, $period, $intervalo, $label, $width, $height);
case "progress": case "progress":
$percent = $_GET["percent"]; $percent = $_GET["percent"];
progress_bar($percent,$width,$height); progress_bar ($percent,$width,$height, $mode);
break; break;
case "odo_tactic": case "odo_tactic":
odo_tactic ( $value1, $value2, $value3 ); odo_tactic ( $value1, $value2, $value3 );