2013-02-28 Miguel de Dios <miguel.dedios@artica.es>
* operation/netflow/nf_live_view.php: fixed load filter from the group all. Fixes: #3606272 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7758 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
e444a690b8
commit
4f790a4e44
|
@ -1,3 +1,10 @@
|
|||
2013-02-28 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* operation/netflow/nf_live_view.php: fixed load filter from the
|
||||
group all.
|
||||
|
||||
Fixes: #3606272
|
||||
|
||||
2013-02-28 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* include/functions_events.php,
|
||||
|
|
|
@ -273,13 +273,20 @@ echo '<form method="post" action="' . $config['homeurl'] . 'index.php?sec=netf&s
|
|||
"</td>";
|
||||
}
|
||||
|
||||
|
||||
|
||||
echo "<td>" . '<b>'.__('Load filter').'</b>' . "</td>";
|
||||
$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)).")";
|
||||
$user_groups[0] = 0; //Add all groups.
|
||||
$sql = "SELECT *
|
||||
FROM tnetflow_filter
|
||||
WHERE id_group IN (".implode(',', array_keys ($user_groups)).")";
|
||||
echo "<td colspan='3'>" . html_print_select_from_sql ($sql, 'filter_id', $filter_id, '', __('none'), 0, true) . "</td>";
|
||||
|
||||
echo "</tr>";
|
||||
|
||||
|
||||
|
||||
echo "<tr class='filter_normal'>";
|
||||
|
||||
if ($netflow_disable_custom_lvfilters) {
|
||||
|
|
Loading…
Reference in New Issue