From 8ed021b64dba513d33b5b017b5516315ce233d2e Mon Sep 17 00:00:00 2001 From: mdtrooper Date: Wed, 25 Feb 2015 11:39:28 +0100 Subject: [PATCH] Fixed the inverse intervals in massive edition of modules. TICKET: #1831 --- .../godmode/massive/massive_edit_modules.php | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/pandora_console/godmode/massive/massive_edit_modules.php b/pandora_console/godmode/massive/massive_edit_modules.php index 08f391e9c2..c4b4e63932 100755 --- a/pandora_console/godmode/massive/massive_edit_modules.php +++ b/pandora_console/godmode/massive/massive_edit_modules.php @@ -352,7 +352,12 @@ $table->data['edit1'][1] = ''; $table->data['edit1'][1] .= ''.__('Inverse interval').''; $table->data['edit1'][1] .= ''; $table->data['edit1'][1] .= ''; $table->data['edit1'][1] .= ''; $table->data['edit1'][1] .= '
'; - $table->data['edit1'][1] .= html_print_checkbox ("warning_inverse", 1, '', true); + $table->data['edit1'][1] .= + html_print_select( + array('' => __('No change'), + '1' => __('Yes'), + '0' => __('No')), + 'warning_inverse','','','', '', true); $table->data['edit1'][1] .= '
'; @@ -389,7 +394,12 @@ $table->data['edit1'][3] = ''; $table->data['edit1'][3] .= ''.__('Inverse interval').''; $table->data['edit1'][3] .= ''; $table->data['edit1'][3] .= ''; $table->data['edit1'][3] .= ''; $table->data['edit1'][3] .= '
'; - $table->data['edit1'][3] .= html_print_checkbox ("critical_inverse", 1, '', true); + $table->data['edit1'][3] .= + html_print_select( + array('' => __('No change'), + '1' => __('Yes'), + '0' => __('No')), + 'critical_inverse','','','', '', true); $table->data['edit1'][3] .= '
';