mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
fixed visual errors in legacy VC pandora_enterprise#11054
This commit is contained in:
parent
5b0092c019
commit
75eae248a5
@ -192,37 +192,37 @@ $options['view']['text'] = '<a href="index.php?sec=network&sec2=operation/visual
|
|||||||
).'</a>';
|
).'</a>';
|
||||||
$options['view']['active'] = true;
|
$options['view']['active'] = true;
|
||||||
|
|
||||||
|
if (!$config['pure']) {
|
||||||
|
$options['pure']['text'] = '<a href="index.php?sec=network&sec2=operation/visual_console/render_view&id='.$id_layout.'&refr='.$refr.'&pure=1">'.html_print_image(
|
||||||
|
'images/full_screen.png',
|
||||||
|
true,
|
||||||
|
[
|
||||||
|
'title' => __('Full screen mode'),
|
||||||
|
'class' => 'invert_filter',
|
||||||
|
]
|
||||||
|
).'</a>';
|
||||||
|
|
||||||
|
ui_print_standard_header(
|
||||||
|
$layout_name,
|
||||||
|
'images/visual_console.png',
|
||||||
|
false,
|
||||||
|
'visual_console_view',
|
||||||
|
false,
|
||||||
|
$options,
|
||||||
|
[
|
||||||
|
[
|
||||||
|
'link' => '',
|
||||||
|
'label' => __('Topology maps'),
|
||||||
|
],
|
||||||
|
[
|
||||||
|
'link' => '',
|
||||||
|
'label' => __('Visual console'),
|
||||||
|
],
|
||||||
|
]
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
if (!is_metaconsole()) {
|
if (!is_metaconsole()) {
|
||||||
if (!$config['pure']) {
|
|
||||||
$options['pure']['text'] = '<a href="index.php?sec=network&sec2=operation/visual_console/render_view&id='.$id_layout.'&refr='.$refr.'&pure=1">'.html_print_image(
|
|
||||||
'images/full_screen.png',
|
|
||||||
true,
|
|
||||||
[
|
|
||||||
'title' => __('Full screen mode'),
|
|
||||||
'class' => 'invert_filter',
|
|
||||||
]
|
|
||||||
).'</a>';
|
|
||||||
|
|
||||||
ui_print_standard_header(
|
|
||||||
$layout_name,
|
|
||||||
'images/visual_console.png',
|
|
||||||
false,
|
|
||||||
'visual_console_view',
|
|
||||||
false,
|
|
||||||
$options,
|
|
||||||
[
|
|
||||||
[
|
|
||||||
'link' => '',
|
|
||||||
'label' => __('Topology maps'),
|
|
||||||
],
|
|
||||||
[
|
|
||||||
'link' => '',
|
|
||||||
'label' => __('Visual console'),
|
|
||||||
],
|
|
||||||
]
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Set the hidden value for the javascript.
|
// Set the hidden value for the javascript.
|
||||||
html_print_input_hidden('metaconsole', 0);
|
html_print_input_hidden('metaconsole', 0);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user