From c066994e3e48e7c1cd968cb98bbf2ac4ee8a3cb9 Mon Sep 17 00:00:00 2001 From: zarzuelo Date: Tue, 4 May 2010 06:19:21 +0000 Subject: [PATCH] 2010-05-04 Sergio Martin * godmode/agentes/module_manager_editor_common.php: Increased the max number of digits in text inputs for max_critical, min_critical, max_warning and min_warning for bug:2931191 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2656 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 7 +++++++ .../godmode/agentes/module_manager_editor_common.php | 8 ++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 9cd854bffd..e4decfb76a 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,10 @@ +2010-05-04 Sergio Martin + + * godmode/agentes/module_manager_editor_common.php: + Increased the max number of digits in text inputs + for max_critical, min_critical, max_warning and + min_warning for bug:2931191 + 2010-05-03 Miguel de Dios * operation/reporting/reporting_xml.php: added default value "now" in diff --git a/pandora_console/godmode/agentes/module_manager_editor_common.php b/pandora_console/godmode/agentes/module_manager_editor_common.php index 217bf9d113..ddc0e826dd 100644 --- a/pandora_console/godmode/agentes/module_manager_editor_common.php +++ b/pandora_console/godmode/agentes/module_manager_editor_common.php @@ -153,17 +153,17 @@ $table_simple->data[1][3] = print_select_from_sql ('SELECT id_mg, name FROM tmod $table_simple->data[2][0] = __('Warning status'); $table_simple->data[2][1] = ''.__('Min.').''; $table_simple->data[2][1] .= print_input_text ('min_warning', $min_warning, - '', 5, 15, true, $disabledBecauseInPolicy); + '', 5, 255, true, $disabledBecauseInPolicy); $table_simple->data[2][1] .= '
'.__('Max.').''; $table_simple->data[2][1] .= print_input_text ('max_warning', $max_warning, - '', 5, 15, true, $disabledBecauseInPolicy); + '', 5, 255, true, $disabledBecauseInPolicy); $table_simple->data[2][2] = __('Critical status'); $table_simple->data[2][3] = ''.__('Min.').''; $table_simple->data[2][3] .= print_input_text ('min_critical', $min_critical, - '', 5, 15, true, $disabledBecauseInPolicy); + '', 5, 255, true, $disabledBecauseInPolicy); $table_simple->data[2][3] .= '
'.__('Max.').''; $table_simple->data[2][3] .= print_input_text ('max_critical', $max_critical, - '', 5, 15, true, $disabledBecauseInPolicy); + '', 5, 255, true, $disabledBecauseInPolicy); /* FF stands for Flip-flop */ $table_simple->data[3][0] = __('FF threshold').' '.print_help_icon ('ff_threshold', true);