local captive_portal_btn = "" local get_users_url = ntop.getHttpPrefix().."/lua/admin/get_users.lua" local users_type = {ntopng=ternary(ntop.isnEdge(), i18n("nedge.system_users"), i18n("login.web_users")), captive_portal=i18n("bridge_wizard.captive_portal_users")} local title = users_type["ntopng"] local captive_portal_users = false if is_captive_portal_active then if _GET["captive_portal_users"] ~= nil then captive_portal_users = true title = users_type["captive_portal"] get_users_url = get_users_url.."?captive_portal_users=1" end local url = ntop.getHttpPrefix().."/lua/admin/users.lua" -- prepare a button to manage captive portal users captive_portal_btn = "