mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
added print_page_title on each page
This commit is contained in:
parent
62ee1c8b37
commit
792a542c41
30 changed files with 158 additions and 151 deletions
|
|
@ -27,8 +27,7 @@ page_utils.set_active_menu_entry(page_utils.menu_entries.categories)
|
|||
|
||||
dofile(dirs.installdir .. "/scripts/lua/inc/menu.lua")
|
||||
|
||||
print("<h2>") print(i18n("custom_categories.apps_and_categories")) print("</h2>")
|
||||
print("<br>")
|
||||
page_utils.print_page_title(i18n("custom_categories.apps_and_categories"))
|
||||
|
||||
print [[
|
||||
<ul id="n2n-nav" class="nav nav-tabs" role="tablist">]]
|
||||
|
|
|
|||
|
|
@ -145,7 +145,7 @@ print[[
|
|||
</div>
|
||||
]]
|
||||
|
||||
print[[<h2>]] print(i18n("category_lists.category_lists")) print[[</h2>]]
|
||||
page_utils.print_page_title(i18n("category_lists.category_lists"))
|
||||
|
||||
print[[
|
||||
<div id="table-edit-lists-form"></div>]]
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@ local page_utils = require("page_utils")
|
|||
|
||||
sendHTTPContentTypeHeader('text/html')
|
||||
|
||||
|
||||
page_utils.set_active_menu_entry(page_utils.menu_entries.device_protocols)
|
||||
|
||||
dofile(dirs.installdir .. "/scripts/lua/inc/menu.lua")
|
||||
|
|
|
|||
|
|
@ -157,9 +157,7 @@ if(haveAdminPrivileges()) then
|
|||
print[[</div>]]
|
||||
end
|
||||
|
||||
print [[
|
||||
<h2>]] print(i18n("prefs.runtime_prefs")) print[[</h2>
|
||||
]]
|
||||
page_utils.print_page_title(i18n("prefs.runtime_prefs"))
|
||||
|
||||
if(false) then
|
||||
io.write("------- SERVER ----------------\n")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue