WAN Mode Page to configure this page." end if (ButtonType and ButtonType == "add") then configRowId = "-1" web.goToPage(NextPage, true, true) elseif( ButtonType and ButtonType == "edit") then if (ACCESS_LEVEL ~= 0) then NextPage = "isatapTunnels" statusMessage = db.getAttribute("stringsMap", "stringId", "ADMIN_REQD", LANGUAGE) else configRowId = RowId end web.goToPage(NextPage, true, true) elseif (ButtonType and ButtonType == "delete") then local field, splitted, rows = web.cgiSearch(cgi, "isatapTunnel") -- if any rows to delete if (rows) then errorFlag, statusCode = nimfView.isatapTunnelDelete(rows) end -- save db if no error if (errorFlag == "OK") then db.save() end statusMessage = db.getAttribute("stringsMap", "stringId", statusCode, LANGUAGE) web.goToPage(NextPage, true, true) else ?>