Fixed problems with name of dynamic's worksmap. tiquet: #2207

This commit is contained in:
m-lopez-f 2015-05-25 12:55:18 +02:00
parent d3277b5039
commit 86db63f4f9
2 changed files with 9 additions and 9 deletions

View File

@ -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');
}

View File

@ -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':