From 52dc70143e7a05bd209af2cb36c9cf4f3b27b409 Mon Sep 17 00:00:00 2001 From: Arturo Gonzalez Diaz Date: Mon, 17 Aug 2015 13:45:24 +0200 Subject: [PATCH] Fixed broken image in module graph (meta). Ticket #2574 --- pandora_console/include/functions_html.php | 8 +++++--- pandora_console/include/functions_ui.php | 3 ++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/pandora_console/include/functions_html.php b/pandora_console/include/functions_html.php index e1fe90ea27..40aa61e54d 100644 --- a/pandora_console/include/functions_html.php +++ b/pandora_console/include/functions_html.php @@ -180,12 +180,14 @@ function html_print_side_layer ($params) { $params['top_text'] . ''; $button = '
'; + //Use the no_meta parameter because this image is only in the base console $button .= html_print_image( $params['position'] == 'left' ? $params['icon_open'] : $params['icon_closed'], - true, array('id' => 'graph_menu_arrow')); + true, array('id' => 'graph_menu_arrow'), + false, false, true); $button .= '
'; $body = '
' . $params['body_text'] . '
'; @@ -738,7 +740,7 @@ function html_print_extended_select_for_time ($name, $selected = '', } ob_start(); - + //Use the no_meta parameter because this image is only in the base console echo '
'; html_print_select ($fields, $uniq_name . '_select', $selected,"" . $script, $nothing, $nothing_value, false, false, false, '', false, 'font-size: xx-small;'.$select_style); @@ -747,7 +749,7 @@ function html_print_extended_select_for_time ($name, $selected = '', array('class' => $uniq_name . '_toggler', 'alt' => __('Custom'), 'title' => __('Custom'), - 'style' => 'width: 18px;')) . + 'style' => 'width: 18px;'), false, false, true) . ''; echo '
'; diff --git a/pandora_console/include/functions_ui.php b/pandora_console/include/functions_ui.php index 4ade5d5942..df6ee3438b 100755 --- a/pandora_console/include/functions_ui.php +++ b/pandora_console/include/functions_ui.php @@ -266,8 +266,9 @@ function ui_print_message ($message, $class = '', $attributes = '', $return = fa ' . $text_title . ' '; if (!$no_close_bool) { + //Use the no_meta parameter because this image is only in the base console $output .= '' . - html_print_image('images/blade.png', true) . ''; + html_print_image('images/blade.png', true, false, false, true) . ''; } $output .= '