2014-03-13 Miguel de Dios <miguel.dedios@artica.es>

* include/functions_visual_map.php: fixed the link of other visual
	map when it is in a public visual console.
	
	Incident: #658




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9578 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2014-03-13 12:09:06 +00:00
parent 58f7f3836c
commit 988156c101
2 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,10 @@
2014-03-13 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_visual_map.php: fixed the link of other visual
map when it is in a public visual console.
Incident: #658
2014-03-13 Miguel de Dios <miguel.dedios@artica.es>
* general/shortcut_bar.php, include/functions_ui.php: fixed the

View File

@ -964,8 +964,8 @@ function visual_map_print_visual_map ($id_layout, $show_links = true, $draw_line
text-align:center;
z-index: 0;
position:relative;
width:'.$mapWidth.'px;
height:'.$mapHeight.'px;">';
width:' . $mapWidth . 'px;
height:' . $mapHeight . 'px;">';
echo "<img src='" .
ui_get_full_url($backgroundImage) . "' width='100%' height='100%' />";
@ -1151,7 +1151,7 @@ function visual_map_print_visual_map ($id_layout, $show_links = true, $draw_line
elseif ($layout_data['id_layout_linked'] > 0) {
// Link to a map
if (empty($layout_data['id_metaconsole'])) {
echo '<a href="index.php?sec=reporting&amp;sec2=operation/visual_console/render_view&amp;pure='.$config["pure"].'&amp;id='.$layout_data["id_layout_linked"].'">';
echo '<a href="' . $config['homeurl'] . 'index.php?sec=reporting&amp;sec2=operation/visual_console/render_view&amp;pure='.$config["pure"].'&amp;id='.$layout_data["id_layout_linked"].'">';
}
else {
$pure = get_parameter('pure', 0);