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

This commit is contained in:
Arturo Gonzalez Diaz 2015-08-17 14:54:04 +02:00
parent 52dc70143e
commit 435b7381de
2 changed files with 6 additions and 4 deletions

View File

@ -258,17 +258,18 @@ function ui_print_message ($message, $class = '', $attributes = '', $return = fa
}
$id = 'info_box_' . uniqid();
//Use the no_meta parameter because this image is only in the base console
$output = '<table cellspacing="0" cellpadding="0" id="' . $id . '" ' . $attributes . '
class="info_box ' . $id . ' ' . $class . '" style="' . $force_style . '">
<tr>
<td class="icon" rowspan="2" style="padding-right: 10px; padding-top: 3px;">' . html_print_image($icon_image, true) . '</td>
<td class="icon" rowspan="2" style="padding-right: 10px; padding-top: 3px;">' . html_print_image($icon_image, true, false, false, false, true) . '</td>
<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, false, false, true) . '</a>';
html_print_image('images/blade.png', true, false, false, false, true) . '</a>';
}
$output .= '</td>

View File

@ -233,7 +233,8 @@ $id = get_parameter('id');
////////////////////////////////////////////////////////////////
$params = array();
// TOP TEXT
$params['top_text'] = "<div style='color: white; width: 100%; text-align: center; font-weight: bold; vertical-align: top;'>" . html_print_image('images/config_mc.png', true, array('width' => '16px')) . ' ' . __('Pandora FMS Graph configuration menu') . "</div>";
//Use the no_meta parameter because this image is only in the base console
$params['top_text'] = "<div style='color: white; width: 100%; text-align: center; font-weight: bold; vertical-align: top;'>" . html_print_image('images/config_mc.png', true, array('width' => '16px'), false, false, true) . ' ' . __('Pandora FMS Graph configuration menu') . "</div>";
$params['body_text'] = "<div class='menu_sidebar_outer'>";
$params['body_text'] .=__('Please, make your changes and apply with the <i>Reload</i> button');