diff --git a/pandora_console/images/tip_border.png b/pandora_console/images/tip_border.png new file mode 100755 index 0000000000..a7a9663a31 Binary files /dev/null and b/pandora_console/images/tip_border.png differ diff --git a/pandora_console/include/functions_ui.php b/pandora_console/include/functions_ui.php index 9a21a9899c..15bb0aba0e 100755 --- a/pandora_console/include/functions_ui.php +++ b/pandora_console/include/functions_ui.php @@ -1968,6 +1968,23 @@ function ui_print_help_tip ($text, $return = false, $img = 'images/tip.png', $is echo $output; } +function ui_print_help_tip_border ($text, $return = false, $img = 'images/tip_border.png', $is_relative = false) { + $output = + '' . + html_print_image ( + $img, + true, + array('title' => $text), + false, + $is_relative && is_metaconsole() + ) . + ''; + + if ($return) + return $output; + echo $output; +} + /** * Powerful debug function that also shows a backtrace. * diff --git a/pandora_console/operation/events/events.build_table.php b/pandora_console/operation/events/events.build_table.php index 6b5b1a033b..16f43397ba 100644 --- a/pandora_console/operation/events/events.build_table.php +++ b/pandora_console/operation/events/events.build_table.php @@ -680,7 +680,14 @@ else { } $comments_help_tip = ""; if (!empty($event_user_comment_str)) { - $comments_help_tip = ui_print_help_tip($event_user_comment_str, true); + + if($myclass == 'datos_yellow'){ + $comments_help_tip = ui_print_help_tip_border($event_user_comment_str, true); + } + else{ + $comments_help_tip = ui_print_help_tip($event_user_comment_str, true); + } + } $data[$i] = '' . $comments_help_tip . '';