Fixed problems with text of definition and fixed other problems. Ticket: #4242

This commit is contained in:
m-lopez-f 2016-11-30 12:26:54 +01:00
parent 89ac483827
commit 434fb87fd9
11 changed files with 86109 additions and 84793 deletions

View File

@ -93,7 +93,7 @@ if (is_ajax ()) {
}
$component['throw_unknown_events'] =
!local_components_is_disable_type_event($id_component, EVENTS_GOING_UNKNOWN);
local_components_is_disable_type_event($id_component, EVENTS_GOING_UNKNOWN);
echo io_json_mb_encode ($component);
return;

View File

@ -411,7 +411,7 @@ else {
$throw_unknown_events_check =
policy_module_is_disable_type_event($__id_pol_mod, EVENTS_GOING_UNKNOWN);
}
$table_advanced->data[4][3] = __('Throw unknown events');
$table_advanced->data[4][3] = __('Discard unknown events');
$table_advanced->data[4][4] = html_print_checkbox('throw_unknown_events',
1, $throw_unknown_events_check, true, $disabledBecauseInPolicy);
$table_advanced->colspan[4][4] = 3;

View File

@ -558,7 +558,7 @@ if ($table->rowspan['edit10'][0] == 2) {
else {
$table->rowspan['edit10'][0] = $table->rowspan['edit10'][1] = 2;
}
$table->data['edit102'][2] = __('Throw unknown events');
$table->data['edit102'][2] = __('Discard unknown events');
$table->data['edit102'][3] = html_print_select(
array('' => __('No change'),

View File

@ -152,9 +152,9 @@ $table->data[6][3] = html_print_input_text ('max', $max, '', 5, 15, true) . ' '
$table->data[7][0] = __('Unit');
$table->data[7][1] = html_print_input_text ('unit', $unit, '', 12, 25, true);
$table->data[7][2] = __('Throw unknown events');
$table->data[7][2] = __('Discard unknown events');
$table->data[7][3] = html_print_checkbox('throw_unknown_events', 1,
!network_components_is_disable_type_event($id, EVENTS_GOING_UNKNOWN), true);
network_components_is_disable_type_event($id, EVENTS_GOING_UNKNOWN), true);
$table->data[8][0] = __('Critical instructions'). ui_print_help_tip(__("Instructions when the status is critical"), true);
$table->data[8][1] = html_print_textarea ('critical_instructions', 2, 65, $critical_instructions, '', true);

BIN
pandora_console/include/languages/en.mo Normal file → Executable file

Binary file not shown.

55908
pandora_console/include/languages/en.po Normal file → Executable file

File diff suppressed because it is too large Load Diff

BIN
pandora_console/include/languages/en_GB.mo Normal file → Executable file

Binary file not shown.

57227
pandora_console/include/languages/en_GB.po Normal file → Executable file

File diff suppressed because it is too large Load Diff

BIN
pandora_console/include/languages/es.mo Normal file → Executable file

Binary file not shown.

57755
pandora_console/include/languages/es.po Normal file → Executable file

File diff suppressed because it is too large Load Diff

View File

@ -287,7 +287,7 @@ $params = "search=" . rawurlencode(io_safe_input($search)) .
"&id_user_ack=" . $id_user_ack .
"&tag_with=". $tag_with_base64 .
"&tag_without=" . $tag_without_base64 .
"&filter_only_alert" . $filter_only_alert .
"&filter_only_alert=" . $filter_only_alert .
"&offset=" . $offset .
"&toogle_filter=no" .
"&filter_id=" . $filter_id .