2010-06-07 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_visual_map.php: fixed the uncolour path between parent and child when update 3.0 to 3.1. Fixes: #3008489 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2868 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
44bb16d249
commit
7f83e243af
|
@ -1,3 +1,10 @@
|
|||
2010-06-07 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* include/functions_visual_map.php: fixed the uncolour path between parent
|
||||
and child when update 3.0 to 3.1.
|
||||
|
||||
Fixes: #3008489
|
||||
|
||||
2010-06-07 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* include/functions_reporting.php: Disabled DB cache for
|
||||
|
|
|
@ -628,14 +628,19 @@ function print_pandora_visual_map ($id_layout, $show_links = true, $draw_lines =
|
|||
$line['node_begin'] = 'layout-data-'.$layout_data["parent_item"];
|
||||
$line['node_end'] = 'layout-data-'.$layout_data["id"];
|
||||
switch ($status_parent) {
|
||||
case 3: $line["color"] = "#ccc"; // Gray
|
||||
default:
|
||||
case 3:
|
||||
$line["color"] = "#ccc"; // Gray
|
||||
break;
|
||||
case 2: $line["color"] = "#20f6f6"; // Yellow
|
||||
case 2:
|
||||
$line["color"] = "#20f6f6"; // Yellow
|
||||
break;
|
||||
case 0: $line["color"] = "#00ff00"; // Green
|
||||
case 0:
|
||||
$line["color"] = "#00ff00"; // Green
|
||||
break;
|
||||
case 4:
|
||||
case 1: $line["color"] = "#ff0000"; // Red
|
||||
case 1:
|
||||
$line["color"] = "#ff0000"; // Red
|
||||
break;
|
||||
}
|
||||
array_push ($lines, $line);
|
||||
|
|
Loading…
Reference in New Issue