Fixed visual console links. Ticket #4213

(cherry picked from commit f3bf5aae86)
This commit is contained in:
Arturo Gonzalez 2016-11-21 15:19:48 +01:00
parent 88700cd4a6
commit b2110eaec9
1 changed files with 3 additions and 3 deletions

View File

@ -126,13 +126,13 @@ if ($vconsole_write || $vconsole_manage) {
array ("title" => __('Builder'))) .'</a>'; array ("title" => __('Builder'))) .'</a>';
} }
$options['view']['text'] = '<a href="index.php?sec=reporting&sec2=operation/visual_console/render_view&id=' . $id_layout . '&refr=' . $view_refresh . '">' $options['view']['text'] = '<a href="index.php?sec=network&sec2=operation/visual_console/render_view&id=' . $id_layout . '&refr=' . $view_refresh . '">'
. html_print_image("images/operation.png", true, array ("title" => __('View'))) .'</a>'; . html_print_image("images/operation.png", true, array ("title" => __('View'))) .'</a>';
$options['view']['active'] = true; $options['view']['active'] = true;
if (!is_metaconsole()) { if (!is_metaconsole()) {
if (!$config['pure']) { if (!$config['pure']) {
$options['pure']['text'] = '<a href="index.php?sec=reporting&sec2=operation/visual_console/render_view&id='.$id_layout.'&refr='.$refr.'&pure=1">' $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, array('title' => __('Full screen mode'))) . html_print_image('images/full_screen.png', true, array('title' => __('Full screen mode')))
. "</a>"; . "</a>";
ui_print_page_header($layout_name, 'images/visual_console.png', false, '', false, $options); ui_print_page_header($layout_name, 'images/visual_console.png', false, '', false, $options);
@ -160,7 +160,7 @@ if ($config['pure']) {
// Quit fullscreen // Quit fullscreen
echo '<li class="nomn">'; echo '<li class="nomn">';
echo '<a href="index.php?sec=reporting&sec2=operation/visual_console/render_view&id='.$id_layout.'&refr='.$refr.'">'; echo '<a href="index.php?sec=network&sec2=operation/visual_console/render_view&id='.$id_layout.'&refr='.$refr.'">';
echo html_print_image('images/normal_screen.png', true, array('title' => __('Back to normal mode'))); echo html_print_image('images/normal_screen.png', true, array('title' => __('Back to normal mode')));
echo '</a>'; echo '</a>';
echo '</li>'; echo '</li>';