mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
Normalized network/netflow interval-start ddate switch
Former-commit-id: 2cce98339fbcca9e7ef6bf29e7ace2d81c5ff525
This commit is contained in:
parent
a7ff654826
commit
f2e710907a
@ -95,17 +95,10 @@ $table->data['0']['1'] .= html_print_select(
|
|||||||
true
|
true
|
||||||
);
|
);
|
||||||
|
|
||||||
$table->data['0']['2'] = __('Select period').' ';
|
$table->data['0']['2'] = '';
|
||||||
$table->data['0']['2'] .= html_print_checkbox(
|
|
||||||
'is_period',
|
|
||||||
1,
|
|
||||||
($is_period === true) ? 1 : 0,
|
|
||||||
true,
|
|
||||||
false,
|
|
||||||
'network_report_click_period(event)'
|
|
||||||
);
|
|
||||||
|
|
||||||
$table->data['1']['0'] = '<div id="end_date_container" style="'.$style_end.'">';
|
$table->data['1']['0'] = '<div style="display: flex;">';
|
||||||
|
$table->data['1']['0'] .= '<div id="end_date_container" style="'.$style_end.'">';
|
||||||
$table->data['1']['0'] .= __('Start date').' ';
|
$table->data['1']['0'] .= __('Start date').' ';
|
||||||
$table->data['1']['0'] .= html_print_input_text('date_lower', $date_lower, '', 10, 7, true);
|
$table->data['1']['0'] .= html_print_input_text('date_lower', $date_lower, '', 10, 7, true);
|
||||||
$table->data['1']['0'] .= ' ';
|
$table->data['1']['0'] .= ' ';
|
||||||
@ -116,6 +109,19 @@ $table->data['1']['0'] .= '<div id="period_container" style="'.$style_period.'">
|
|||||||
$table->data['1']['0'] .= __('Time Period').' ';
|
$table->data['1']['0'] .= __('Time Period').' ';
|
||||||
$table->data['1']['0'] .= html_print_extended_select_for_time('period', $period, '', '', 0, false, true);
|
$table->data['1']['0'] .= html_print_extended_select_for_time('period', $period, '', '', 0, false, true);
|
||||||
$table->data['1']['0'] .= '</div>';
|
$table->data['1']['0'] .= '</div>';
|
||||||
|
$table->data['1']['0'] .= html_print_checkbox(
|
||||||
|
'is_period',
|
||||||
|
1,
|
||||||
|
($is_period === true) ? 1 : 0,
|
||||||
|
true,
|
||||||
|
false,
|
||||||
|
'network_report_click_period(event)'
|
||||||
|
);
|
||||||
|
$table->data['1']['0'] .= ui_print_help_tip(
|
||||||
|
__('Select this checkbox to write interval instead a date.'),
|
||||||
|
true
|
||||||
|
);
|
||||||
|
$table->data['1']['0'] .= '</div>';
|
||||||
|
|
||||||
$table->data['1']['1'] = __('End date').' ';
|
$table->data['1']['1'] = __('End date').' ';
|
||||||
$table->data['1']['1'] .= html_print_input_text('date_greater', $date_greater, '', 10, 7, true);
|
$table->data['1']['1'] .= html_print_input_text('date_greater', $date_greater, '', 10, 7, true);
|
||||||
|
@ -90,6 +90,10 @@ $table->data['0']['0'] .= html_print_checkbox(
|
|||||||
false,
|
false,
|
||||||
'network_report_click_period(event)'
|
'network_report_click_period(event)'
|
||||||
);
|
);
|
||||||
|
$table->data['0']['0'] .= ui_print_help_tip(
|
||||||
|
__('Select this checkbox to write interval instead a date.'),
|
||||||
|
true
|
||||||
|
);
|
||||||
$table->data['0']['0'] .= '</div>';
|
$table->data['0']['0'] .= '</div>';
|
||||||
|
|
||||||
$table->data['0']['1'] = __('End date').' ';
|
$table->data['0']['1'] = __('End date').' ';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user