Fixed broken image in module graph (meta). Ticket #2574
This commit is contained in:
parent
52dc70143e
commit
435b7381de
|
@ -259,16 +259,17 @@ function ui_print_message ($message, $class = '', $attributes = '', $return = fa
|
||||||
|
|
||||||
$id = 'info_box_' . uniqid();
|
$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 . '
|
$output = '<table cellspacing="0" cellpadding="0" id="' . $id . '" ' . $attributes . '
|
||||||
class="info_box ' . $id . ' ' . $class . '" style="' . $force_style . '">
|
class="info_box ' . $id . ' ' . $class . '" style="' . $force_style . '">
|
||||||
<tr>
|
<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="title" style="text-transform: uppercase; padding-top: 10px;"><b>' . $text_title . '</b></td>
|
||||||
<td class="icon" style="text-align: right; padding-right: 3px;">';
|
<td class="icon" style="text-align: right; padding-right: 3px;">';
|
||||||
if (!$no_close_bool) {
|
if (!$no_close_bool) {
|
||||||
//Use the no_meta parameter because this image is only in the base console
|
//Use the no_meta parameter because this image is only in the base console
|
||||||
$output .= '<a href="javascript: close_info_box(\'' . $id . '\')">' .
|
$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>
|
$output .= '</td>
|
||||||
|
|
|
@ -233,7 +233,8 @@ $id = get_parameter('id');
|
||||||
////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////
|
||||||
$params = array();
|
$params = array();
|
||||||
// TOP TEXT
|
// 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'] = "<div class='menu_sidebar_outer'>";
|
||||||
$params['body_text'] .=__('Please, make your changes and apply with the <i>Reload</i> button');
|
$params['body_text'] .=__('Please, make your changes and apply with the <i>Reload</i> button');
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue