From 660e6d98a60e375392f35b559ad67cf3b2ff4413 Mon Sep 17 00:00:00 2001 From: m-lopez-f Date: Mon, 25 May 2015 12:22:15 +0200 Subject: [PATCH] Fixed problems with name of dynamic's worksmap. tiquet: #2207 --- .../operation/agentes/networkmap.php | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/pandora_console/operation/agentes/networkmap.php b/pandora_console/operation/agentes/networkmap.php index 0c05bd98b0..87743deed3 100644 --- a/pandora_console/operation/agentes/networkmap.php +++ b/pandora_console/operation/agentes/networkmap.php @@ -211,11 +211,11 @@ $buttons['topology'] = array('active' => $activeTab == 'topology', 'text' => '' . html_print_image("images/op_network.png", true, array ("title" => __('Topology view'))) .''); -$buttons['dinamic'] = array('active' => $activeTab == 'dinamic', - 'text' => '' . +$buttons['dynamic'] = array('active' => $activeTab == 'dynamic', + 'text' => '' . html_print_image("images/dynamic_network_icon.png", true, array ("title" => __('Dynamic view'))) .''); -$buttons['radial_dinamic'] = array('active' => $activeTab == 'radial_dynamic', +$buttons['radial_dynamic'] = array('active' => $activeTab == 'radial_dynamic', 'text' => '' . html_print_image("images/radial_dynamic_network_icon.png", true, array ("title" => __('Radial dynamic view'))) .''); @@ -280,10 +280,10 @@ switch ($activeTab) { case 'policies': $title = __('Policies view'); break; - case 'dinamic': + case 'dynamic': $title = __('Dynamic view'); break; - case 'radial_dinamic': + case 'radial_dynamic': $title = __('Radial dynamic view'); break; } @@ -345,7 +345,7 @@ if ($activeTab == 'topology') { html_print_checkbox ('show_snmp_modules', '1', $show_snmp_modules, true); } -if ($activeTab != 'dinamic' && $activeTab != 'radial_dynamic') { +if ($activeTab != 'dynamic' && $activeTab != 'radial_dynamic') { $table->data[0][] = __('Layout') . ' ' . html_print_select ($layout_array, 'layout', $layout, '', '', '', true); } @@ -368,7 +368,7 @@ if ($activeTab == 'policies') { html_print_select ($depth_levels, 'depth', $depth, '', '', '', true, false, false); } -if ($activeTab != 'dinamic' && $activeTab != 'radial_dynamic') { +if ($activeTab != 'dynamic' && $activeTab != 'radial_dynamic') { $table->data[1][] = __('No Overlap') . ' ' . html_print_checkbox ('nooverlap', '1', $nooverlap, true); } @@ -386,12 +386,12 @@ if (($activeTab == 'groups' || $activeTab == 'policies') && } } -if ($activeTab != 'dinamic' && $activeTab != 'radial_dynamic') { +if ($activeTab != 'dynamic' && $activeTab != 'radial_dynamic') { $table->data[1][] = __('Simple') . ' ' . html_print_checkbox ('simple', '1', $simple, true); } -if ($activeTab != 'dinamic' && $activeTab != 'radial_dynamic') { +if ($activeTab != 'dynamic' && $activeTab != 'radial_dynamic') { $table->data[1][] = __('Regenerate') . ' ' . html_print_checkbox ('regen', '1', $regen, true); } @@ -412,7 +412,7 @@ if ($pure == "1") { } -if ($activeTab != 'dinamic' && $activeTab != 'radial_dynamic') { +if ($activeTab != 'dynamic' && $activeTab != 'radial_dynamic') { $table->data[1][] = __('Font') . ' ' . html_print_input_text ('font_size', $font_size, $alt = 'Font size (in pt)', 2, 4, true); } @@ -457,7 +457,7 @@ if ($id_networkmap != 0) { case 'policies': require_once(ENTERPRISE_DIR . '/operation/policies/networkmap.policies.php'); break; - case 'dinamic': + case 'dynamic': require_once('operation/agentes/networkmap.dinamic.php'); break; case 'radial_dynamic':