Merge branch 'cherry-pick-34f4b434' into 'pandora_6.0'

Set default module action threshold to 0.

See merge request !51
This commit is contained in:
vgilc 2017-01-23 16:05:21 +01:00
commit 86e9a0b907

View File

@ -132,8 +132,8 @@ if (check_acl ($config['id_user'], 0, "LM")) {
$table->data[2][1] .= '</a>';
}
$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 '<form class="add_alert_form" method="post">';