Fixed the lost checkbox to show graphs in the event items in the report

This commit is contained in:
mdtrooper 2015-04-21 13:18:29 +02:00
parent 1993dae682
commit 5572b88574
1 changed files with 29 additions and 3 deletions

View File

@ -1150,14 +1150,24 @@ else
html_print_checkbox ('event_graph_by_agent', true, $event_graph_by_agent);
?>
</span>
<?
<span id="row_event_graph_by_user">
<?php
echo __('By user validator');
html_print_checkbox ('event_graph_by_user_validator', true, $event_graph_by_user_validator);
?>
</span>
<span id="row_event_graph_by_criticity">
<?php
echo __('By criticity');
html_print_checkbox ('event_graph_by_criticity', true, $event_graph_by_criticity);
?>
</span>
<span id="row_event_graph_by_validated">
<?php
echo __('Validated vs unvalidated');
html_print_checkbox ('event_graph_validated_vs_unvalidated', true, $event_graph_validated_vs_unvalidated);
?>
</span>
</td>
</tr>
<tr id="row_show_in_two_columns" style="" class="datos">
@ -2047,7 +2057,10 @@ function chooseType() {
$("#row_module_multi").hide();
$("#row_event_filter").hide();
$("#row_event_graphs").hide();
$("#row_event_graph_by_agent").show();
$("#row_event_graph_by_agent").hide();
$("#row_event_graph_by_user").hide();
$("#row_event_graph_by_criticity").hide();
$("#row_event_graph_by_validated").hide();
$("#row_netflow_filter").hide();
$("#row_max_values").hide();
$("#row_resolution").hide();
@ -2075,6 +2088,11 @@ function chooseType() {
$("#row_show_in_two_columns").show();
$("#row_event_filter").show();
$("#row_event_graphs").show();
$("#row_event_graph_by_agent").show();
$("#row_event_graph_by_user").show();
$("#row_event_graph_by_criticity").show();
$("#row_event_graph_by_validated").show();
break;
case 'simple_graph':
$("#row_time_compare_overlapped").show();
@ -2291,7 +2309,10 @@ function chooseType() {
$("#row_show_in_two_columns").show();
$("#row_event_filter").show();
$("#row_event_graphs").show();
$("#row_event_graph_by_agent").hide();
$("#row_event_graph_by_user").show();
$("#row_event_graph_by_criticity").show();
$("#row_event_graph_by_validated").show();
$('#agent_autocomplete').hide();
$('#agent_autocomplete_events').show();
@ -2303,6 +2324,11 @@ function chooseType() {
$("#row_period").show();
$("#row_show_in_two_columns").show();
$("#row_event_graph_by_agent").show();
$("#row_event_graph_by_user").show();
$("#row_event_graph_by_criticity").show();
$("#row_event_graph_by_validated").show();
$('#agent_autocomplete').hide();
$('#agent_autocomplete_events').show();
break;