diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index f5b7ce2c40..d2efde8013 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,10 @@ +2012-03-08 Sancho Lerena + + * include/functions_visual_map.php + operation/visual_console/public_console.php + operation/visual_console/render_view.php: Changes for new feature + "Public Visual Console". + 2012-03-08 Vanessa Gil * pandoradb.sql diff --git a/pandora_console/include/functions_visual_map.php b/pandora_console/include/functions_visual_map.php index cea331f14b..9e070fd070 100644 --- a/pandora_console/include/functions_visual_map.php +++ b/pandora_console/include/functions_visual_map.php @@ -554,13 +554,13 @@ function visual_map_print_visual_map ($id_layout, $show_links = true, $draw_line $proportion = $width / $layout["width"]; $mapHeight = $proportion * $layout["height"]; } - $backgroundImage = 'include/Image/image_functions.php?getFile=1&thumb=1&thumb_size=' . $mapWidth . 'x' . $mapHeight . '&file=' . + $backgroundImage = $config['homeurl'].'/include/Image/image_functions.php?getFile=1&thumb=1&thumb_size=' . $mapWidth . 'x' . $mapHeight . '&file=' . $config['homeurl'] . '/' . 'images/console/background/'.io_safe_input ($layout["background"]); } else { $mapWidth = $layout["width"]; $mapHeight = $layout["height"]; - $backgroundImage = 'images/console/background/'.io_safe_input ($layout["background"]); + $backgroundImage = $config['homeurl'].'/images/console/background/'.io_safe_input ($layout["background"]); } echo '