mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 01:05:39 +02:00
[Network usage map] Fixed menus and added header.
Former-commit-id: 1cdfc4f7f388f0705b32a362ce8c5f3ac1fb49b2
This commit is contained in:
parent
f9744ca8c8
commit
4a201bc74b
@ -97,18 +97,22 @@ if (check_acl($config['id_user'], 0, 'AR')) {
|
|||||||
$netflow_sub = array_merge(
|
$netflow_sub = array_merge(
|
||||||
$netflow_sub,
|
$netflow_sub,
|
||||||
[
|
[
|
||||||
'operation/network/network_explorer' => [
|
'operation/network/network_explorer' => [
|
||||||
'text' => __('Network explorer'),
|
'text' => __('Network explorer'),
|
||||||
'id' => 'Network explorer',
|
'id' => 'Network explorer',
|
||||||
],
|
],
|
||||||
|
]
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($config['activate_nta'] || $config['activate_netflow']) {
|
||||||
|
$netflow_sub = array_merge(
|
||||||
|
$netflow_sub,
|
||||||
|
[
|
||||||
'operation/network/network_usage_map' => [
|
'operation/network/network_usage_map' => [
|
||||||
'text' => __('Network usage map'),
|
'text' => __('Network usage map'),
|
||||||
'id' => 'Network usage map',
|
'id' => 'Network usage map',
|
||||||
],
|
],
|
||||||
'operation/network/network_dashboard' => [
|
|
||||||
'text' => __('Network dashboard'),
|
|
||||||
'id' => 'Network dashboard',
|
|
||||||
],
|
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -26,6 +26,8 @@ global $config;
|
|||||||
|
|
||||||
check_login();
|
check_login();
|
||||||
|
|
||||||
|
ui_print_page_header(__('Network usage map'));
|
||||||
|
|
||||||
// ACL Check.
|
// ACL Check.
|
||||||
if (! check_acl($config['id_user'], 0, 'AR')) {
|
if (! check_acl($config['id_user'], 0, 'AR')) {
|
||||||
db_pandora_audit(
|
db_pandora_audit(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user