mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
add all and pool entries inside Manage COnfigurations page (#4128)
This commit is contained in:
parent
dc51f002e6
commit
9e24cb79a2
7 changed files with 9 additions and 27 deletions
|
|
@ -16,12 +16,12 @@ if not haveAdminPrivileges() then return end
|
|||
|
||||
-- The order key is used to set an order for the rendered list in the page
|
||||
local configuration_items = {
|
||||
-- all = {key = "all", label = i18n("manage_configurations.everything"), order = 0 },
|
||||
all = {key = "all", label = i18n("manage_configurations.everything"), order = 0 },
|
||||
snmp = {key = "snmp", label = i18n("manage_configurations.snmp"), order = 1},
|
||||
active_monitoring = {key = "active_monitoring", label = i18n("manage_configurations.active_monitoring"), order = 2},
|
||||
scripts = {key = "scripts", label = i18n("manage_configurations.user_scripts"), order = 3},
|
||||
notifications = {key = "notifications", label = i18n("manage_configurations.notifications"), order = 4},
|
||||
-- {key = "pool_endpoint_recipients", label = i18n("manage_configurations.pool_endpoint_recipients")},
|
||||
pool = {key = "pool", label = i18n("manage_configurations.pool_endpoint_recipients"), order = 5},
|
||||
}
|
||||
|
||||
local selected_item = (table.has_key(configuration_items, _GET["item"]) and _GET["item"] or "snmp")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue