New page_utils api to handle sidebar subitems selection

This commit is contained in:
emanuele-f 2020-01-30 11:52:35 +01:00
parent 6704ae5040
commit 4f6788fb58
73 changed files with 197 additions and 143 deletions

View file

@ -15,9 +15,8 @@ local info = ntop.getInfo()
sendHTTPContentTypeHeader('text/html')
page_utils.print_header("Host Explorer")
page_utils.set_active_menu_entry(page_utils.menu_entries.host_explorer)
active_page = "about"
dofile(dirs.installdir .. "/scripts/lua/inc/menu.lua")
print("<hr /><h2>Host Explorer</h2>")