2012-04-23 Miguel de Dios <miguel.dedios@artica.es>

* include/functions_visual_map.php: fixed into the function
	"visual_map_print_visual_map" the unclose links of percentile bar.
	
	Fixes: #3520640
	
	MERGED FROM 4.0.2




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6117 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2012-04-23 17:21:46 +00:00
parent ae90fd5016
commit 463c5f6fcc
2 changed files with 14 additions and 1 deletions

View File

@ -1,3 +1,12 @@
2012-04-23 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_visual_map.php: fixed into the function
"visual_map_print_visual_map" the unclose links of percentile bar.
Fixes: #3520640
MERGED FROM 4.0.2
2012-04-23 Miguel de Dios <miguel.dedios@artica.es> 2012-04-23 Miguel de Dios <miguel.dedios@artica.es>
* index.php: fixed php noticie message about uninicialized var. * index.php: fixed php noticie message about uninicialized var.

View File

@ -1175,21 +1175,25 @@ function visual_map_print_visual_map ($id_layout, $show_links = true, $draw_line
//Link to an service page //Link to an service page
echo '<a href="index.php?sec=services&sec2=enterprise/operation/services/services&id_service=' . echo '<a href="index.php?sec=services&sec2=enterprise/operation/services/services&id_service=' .
$id_service . '&offset=0">'; $id_service . '&offset=0">';
$endTagA = true;
} }
else { else {
// Link to an agent // Link to an agent
echo '<a href="index.php?sec=estado&amp;sec2=operation/agentes/ver_agente&amp;id_agente='.$id_agent.'">'; echo '<a href="index.php?sec=estado&amp;sec2=operation/agentes/ver_agente&amp;id_agente='.$id_agent.'">';
$endTagA = true;
} }
} }
elseif ($layout_data['id_layout_linked'] > 0) { elseif ($layout_data['id_layout_linked'] > 0) {
// Link to a map // Link to a map
echo '<a href="index.php?sec=visualc&amp;sec2=operation/visual_console/render_view&amp;pure='.$config["pure"].'&amp;id='.$layout_data["id_layout_linked"].'">'; echo '<a href="index.php?sec=visualc&amp;sec2=operation/visual_console/render_view&amp;pure='.$config["pure"].'&amp;id='.$layout_data["id_layout_linked"].'">';
$endTagA = true;
} }
else { else {
// A void object // A void object
echo '<a href="#">'; echo '<a href="#">';
$endTagA = true;
} }
} }
@ -1219,7 +1223,7 @@ function visual_map_print_visual_map ($id_layout, $show_links = true, $draw_line
echo progress_bar($percentile, $width, 15, '', 1, $value_text, $colorStatus); echo progress_bar($percentile, $width, 15, '', 1, $value_text, $colorStatus);
} }
if ($endTagA) echo '</a>'; if ($endTagA) echo '</a>';
echo '</div>'; echo '</div>';
break; break;