mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
nedge localization
This commit is contained in:
parent
41224c9b9a
commit
5654f82b92
5 changed files with 12 additions and 8 deletions
|
|
@ -11,7 +11,7 @@ sendHTTPContentTypeHeader('text/html')
|
|||
if(haveAdminPrivileges()) then
|
||||
interface.select(ifname)
|
||||
|
||||
is_captive_portal_active = isCaptivePortalActive()
|
||||
is_captive_portal_active = isCaptivePortalActive() and not ntop.isnEdge()
|
||||
|
||||
ntop.dumpFile(dirs.installdir .. "/httpdocs/inc/header.inc")
|
||||
|
||||
|
|
@ -22,7 +22,7 @@ if(haveAdminPrivileges()) then
|
|||
|
||||
local ifstats = interface.getStats()
|
||||
local is_captive_portal_enabled = ntop.getPrefs()["is_captive_portal_enabled"]
|
||||
if(ifstats.inline and not(is_captive_portal_enabled)) then
|
||||
if(ifstats.inline and not(is_captive_portal_enabled)) and not ntop.isnEdge() then
|
||||
print('<small><b>NOTE:</b> <A HREF="'.. ntop.getHttpPrefix() ..'/lua/admin/prefs.lua?tab=bridging">Enabling the captive portal</A> allows you to define captive portal users.</small>')
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue