Fixed broken image in module graph (meta). Ticket #2574

This commit is contained in:
Arturo Gonzalez Diaz 2015-08-17 13:45:24 +02:00
parent e394eab3ce
commit 52dc70143e
2 changed files with 7 additions and 4 deletions

View File

@ -180,12 +180,14 @@ function html_print_side_layer ($params) {
$params['top_text'] . '</div>';
$button = '<div id="show_menu" style="vertical-align: middle; position: relative; width: ' . $params['icon_width'] . 'px; padding-right: 17px; text-align: right; height: ' . $params['icon_height'] . 'px;">';
//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 .= '</div>';
$body = '<div id="side_body_text" style="width: 100%;">' . $params['body_text'] . '</div>';
@ -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 '<div id="'.$uniq_name.'_default" style="width:100%;display:inline;">';
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) .
'</a>';
echo '</div>';

View File

@ -266,8 +266,9 @@ function ui_print_message ($message, $class = '', $attributes = '', $return = fa
<td class="title" style="text-transform: uppercase; padding-top: 10px;"><b>' . $text_title . '</b></td>
<td class="icon" style="text-align: right; padding-right: 3px;">';
if (!$no_close_bool) {
//Use the no_meta parameter because this image is only in the base console
$output .= '<a href="javascript: close_info_box(\'' . $id . '\')">' .
html_print_image('images/blade.png', true) . '</a>';
html_print_image('images/blade.png', true, false, false, true) . '</a>';
}
$output .= '</td>