From 8f86be3265da5046a0c505cedaf5231b2fb910dd Mon Sep 17 00:00:00 2001 From: Junichi Satoh Date: Wed, 18 Jan 2017 10:56:08 +0900 Subject: [PATCH] Set default module action threshold to 0. (cherry picked from commit 34f4b434c236dece3a6c50036430d8d087462210) --- pandora_console/godmode/alerts/alert_list.builder.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandora_console/godmode/alerts/alert_list.builder.php b/pandora_console/godmode/alerts/alert_list.builder.php index ed7768c19c..68f5f9b019 100644 --- a/pandora_console/godmode/alerts/alert_list.builder.php +++ b/pandora_console/godmode/alerts/alert_list.builder.php @@ -132,8 +132,8 @@ if (check_acl ($config['id_user'], 0, "LM")) { $table->data[2][1] .= ''; } $table->data[3][0] = __('Threshold'); - $table->data[3][1] = html_print_extended_select_for_time ('module_action_threshold', 0, '', 0, - __('None'), false, true) . ui_print_help_icon ('action_threshold', true, ui_get_full_url(false, false, false, false)); + $table->data[3][1] = html_print_input_text ('module_action_threshold', '0', '', 5, 7, true); + $table->data[3][1] .= ' ' . __('seconds') . ui_print_help_icon ('action_threshold', true); echo '
';