From 86db63f4f94e423d1ac8578b727057ac76efef1c Mon Sep 17 00:00:00 2001 From: m-lopez-f Date: Mon, 25 May 2015 12:55:18 +0200 Subject: [PATCH] Fixed problems with name of dynamic's worksmap. tiquet: #2207 --- pandora_console/include/functions_networkmap.php | 4 ++-- pandora_console/operation/agentes/networkmap.php | 14 +++++++------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/pandora_console/include/functions_networkmap.php b/pandora_console/include/functions_networkmap.php index a1e0f9c2cf..3c1b9e27d2 100644 --- a/pandora_console/include/functions_networkmap.php +++ b/pandora_console/include/functions_networkmap.php @@ -1684,7 +1684,7 @@ function networkmap_get_types ($strict_user = false) { $networkmap_types['topology'] = __('Create a new topology map'); $networkmap_types['groups'] = __('Create a new group map'); - $networkmap_types['dinamic'] = __('Create a new dynamic map'); + $networkmap_types['dynamic'] = __('Create a new dynamic map'); if (!$strict_user) { $networkmap_types['radial_dynamic'] = __('Create a new radial dynamic map'); } @@ -1710,7 +1710,7 @@ function networkmap_get_filter_types ($strict_user = false) { $networkmap_types['topology'] = __('Topology'); $networkmap_types['groups'] = __('Group'); - $networkmap_types['dinamic'] = __('Dynamic'); + $networkmap_types['dynamic'] = __('Dynamic'); if (!$strict_user) { $networkmap_types['radial_dynamic'] = __('Radial dynamic'); } diff --git a/pandora_console/operation/agentes/networkmap.php b/pandora_console/operation/agentes/networkmap.php index 6e83586e14..0a3c663f39 100644 --- a/pandora_console/operation/agentes/networkmap.php +++ b/pandora_console/operation/agentes/networkmap.php @@ -393,7 +393,7 @@ switch ($activeTab) { $title = __('Policies view'); $icon = "images/policies_mc.png"; break; - case 'dinamic': + case 'dynamic': $title = __('Dynamic view'); $icon = "images/dynamic_network_icon.png"; break; @@ -463,7 +463,7 @@ if ($activeTab == 'groups' || $activeTab == 'policies' || $activeTab == 'radial_ } // Layout -if ($activeTab != 'dinamic' && $activeTab != 'radial_dynamic') { +if ($activeTab != 'dynamic' && $activeTab != 'radial_dynamic') { $form_elems[] = __('Layout') . ' ' . html_print_select ($layout_array, 'layout', $layout, '', '', '', true); } @@ -485,7 +485,7 @@ if ($activeTab == 'topology') { } // No overlap -if ($activeTab != 'dinamic' && $activeTab != 'radial_dynamic') { +if ($activeTab != 'dynamic' && $activeTab != 'radial_dynamic') { $form_elems[] = __('No Overlap') . ' ' . html_print_checkbox ('nooverlap', '1', $nooverlap, true); } @@ -505,13 +505,13 @@ if ($activeTab == 'groups') { } // Simple -if ($activeTab != 'dinamic' && $activeTab != 'radial_dynamic') { +if ($activeTab != 'dynamic' && $activeTab != 'radial_dynamic') { $form_elems[] = __('Simple') . ' ' . html_print_checkbox ('simple', '1', $simple, true); } // Regenerate -if ($activeTab != 'dinamic' && $activeTab != 'radial_dynamic') { +if ($activeTab != 'dynamic' && $activeTab != 'radial_dynamic') { $form_elems[] = __('Regenerate') . ' ' . html_print_checkbox ('regen', '1', $regen, true); } @@ -533,7 +533,7 @@ if ($pure == "1") { } // Font -if ($activeTab != 'dinamic' && $activeTab != 'radial_dynamic') { +if ($activeTab != 'dynamic' && $activeTab != 'radial_dynamic') { $form_elems[] = __('Font') . ' ' . html_print_input_text ('font_size', $font_size, $alt = 'Font size (in pt)', 2, 4, true); } @@ -594,7 +594,7 @@ switch ($activeTab) { 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':