#9270 Icon for InOctets and OutOctets graph
This commit is contained in:
parent
bb95dadb4f
commit
45b67b1f7a
|
@ -873,7 +873,11 @@ function treeview_printTable($id_agente, $server_data=[], $no_head=false)
|
|||
);
|
||||
$graph_link .= '</a>';
|
||||
} else {
|
||||
$graph_link = __('inOctets and outOctets must be enabled.');
|
||||
$graph_link = html_print_image(
|
||||
'images/chart_curve.disabled.png',
|
||||
true,
|
||||
['title' => __('inOctets and outOctets must be enabled.')]
|
||||
);
|
||||
}
|
||||
} else {
|
||||
$graph_link = '';
|
||||
|
|
|
@ -708,7 +708,11 @@ function print_table(
|
|||
]
|
||||
).'</a>';
|
||||
} else {
|
||||
$graph_link = __('inOctets and outOctets must be enabled.');
|
||||
$graph_link = html_print_image(
|
||||
'images/chart_curve.disabled.png',
|
||||
true,
|
||||
['title' => __('inOctets and outOctets must be enabled.')]
|
||||
);
|
||||
}
|
||||
} else {
|
||||
$graph_link = '';
|
||||
|
|
|
@ -1277,7 +1277,11 @@ if (is_ajax() === true) {
|
|||
$win_handle = dechex(crc32($interface['status_module_id'].$interface_name));
|
||||
$graph_link = "<a href=\"javascript:winopeng_var('operation/agentes/interface_traffic_graph_win.php?params=$params_encoded','$win_handle', 800, 480)\">".html_print_image('images/chart_curve.png', true, ['title' => __('Interface traffic')]).'</a>';
|
||||
} else {
|
||||
$graph_link = __('inOctets and outOctets must be enabled.');
|
||||
$graph_link = html_print_image(
|
||||
'images/chart_curve.disabled.png',
|
||||
true,
|
||||
['title' => __('inOctets and outOctets must be enabled.')]
|
||||
);
|
||||
}
|
||||
} else {
|
||||
$graph_link = '';
|
||||
|
|
Loading…
Reference in New Issue