diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 63657726eb..62a817223d 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,9 @@ +2013-07-26 Miguel de Dios + + * include/functions_networkmap.php, + operation/agentes/networkmap.dinamic.php: added the tooltips and + only it needs reorganize the code. + 2013-07-26 Sergio Martin * godmode/reporting/reporting_builder.php: Fix errors diff --git a/pandora_console/include/functions_networkmap.php b/pandora_console/include/functions_networkmap.php index 42cc5da934..1044488e81 100644 --- a/pandora_console/include/functions_networkmap.php +++ b/pandora_console/include/functions_networkmap.php @@ -75,6 +75,8 @@ function networkmap_print_jsdata($graph, $js_tags = true) { 'name' : '" . $node['label'] . "', 'url' : '" . $node['url'] . "', 'tooltip' : '" . $node['tooltip'] . "', + 'default_tooltip' : 1, + 'tooltip_content' : ' " . html_print_image('images/spinner.gif',true) . "', 'color' : '" . $node['color'] . "'}\n"; } echo "],\n"; @@ -1028,8 +1030,8 @@ function networkmap_create_pandora_node ($name, $font_size = 10, $simple = 0, $s else { $img = '' . html_print_image("images/networkmap/pandora_node.png", true, false, false, true) . ''; } - $name = ''.$name.''; - $label = ''.$img.$name.'
'; + $name = '' . $name . ''; + $label = '' . $img.$name . '
'; if ($simple == 1) { $label = ''; } diff --git a/pandora_console/operation/agentes/networkmap.dinamic.php b/pandora_console/operation/agentes/networkmap.dinamic.php index 21c9287f61..0d506c8958 100755 --- a/pandora_console/operation/agentes/networkmap.dinamic.php +++ b/pandora_console/operation/agentes/networkmap.dinamic.php @@ -45,10 +45,25 @@ networkmap_print_jsdata($graph); //html_debug_print($graph); - echo ''; echo '
'; ?> + +