2012-02-06 Ramon Novoa <rnovoa@artica.es>
* operation/netflow/nf_live_view.php: Fixed filter load ACL check. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5500 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
c478cc18e4
commit
0a858f2924
|
@ -1,3 +1,7 @@
|
||||||
|
2012-02-06 Ramon Novoa <rnovoa@artica.es>
|
||||||
|
|
||||||
|
* operation/netflow/nf_live_view.php: Fixed filter load ACL check.
|
||||||
|
|
||||||
2012-02-06 Miguel de Dios <miguel.dedios@artica.es>
|
2012-02-06 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
* include/functions_api.php: fixed into function "get_events__with_user"
|
* include/functions_api.php: fixed into function "get_events__with_user"
|
||||||
|
|
|
@ -162,7 +162,7 @@ echo '<form method="post" action="index.php?sec=netf&sec2=operation/netflow/nf_l
|
||||||
$table->data[2][1] = __('Normal') . ' ' . html_print_radio_button_extended ('filter_type', 0, '', $filter_type, false, 'displayNormalFilter();', 'style="margin-right: 40px;"', true);
|
$table->data[2][1] = __('Normal') . ' ' . html_print_radio_button_extended ('filter_type', 0, '', $filter_type, false, 'displayNormalFilter();', 'style="margin-right: 40px;"', true);
|
||||||
$table->data[2][1] .= __('Advanced') . ' ' . html_print_radio_button_extended ('filter_type', 1, '', $filter_type, false, 'displayAdvancedFilter();', 'style="margin-right: 40px;"', true);
|
$table->data[2][1] .= __('Advanced') . ' ' . html_print_radio_button_extended ('filter_type', 1, '', $filter_type, false, 'displayAdvancedFilter();', 'style="margin-right: 40px;"', true);
|
||||||
$table->data[2][2] = '<b>'.__('Load filter').'</b>';
|
$table->data[2][2] = '<b>'.__('Load filter').'</b>';
|
||||||
$user_groups = users_get_groups ($config['id_user'], "AW", $own_info['is_admin'], true);
|
$user_groups = users_get_groups ($config['id_user'], "AR", $own_info['is_admin'], true);
|
||||||
$sql = "SELECT * FROM tnetflow_filter WHERE id_group IN (".implode(',', array_keys ($user_groups)).")";
|
$sql = "SELECT * FROM tnetflow_filter WHERE id_group IN (".implode(',', array_keys ($user_groups)).")";
|
||||||
$table->data[2][3] = html_print_select_from_sql ($sql, 'filter_id', $filter_id, '', __('none'), 0, true);
|
$table->data[2][3] = html_print_select_from_sql ($sql, 'filter_id', $filter_id, '', __('none'), 0, true);
|
||||||
$table->data[2][3] .= html_print_submit_button (__('Load'), 'load_button', false, 'class="sub upd"', true);
|
$table->data[2][3] .= html_print_submit_button (__('Load'), 'load_button', false, 'class="sub upd"', true);
|
||||||
|
|
Loading…
Reference in New Issue