" .. procEntry)) else if (ipsRow["IPSConfig.ipsEnable"] == "1") then util.appendDebugOut("Exec: " .. os.execute("echo 0 >" .. procEntry)) elseif (ipsRow["IPSConfig.idsEnable"] == "1") then util.appendDebugOut("Exec: " .. os.execute("echo 0 >" .. procEntry)) else util.appendDebugOut("Exec: " .. os.execute("echo 1 >" .. procEntry)) end end end statusMessage = db.getAttribute("stringsMap", "stringId", statusCode, LANGUAGE) web.goToPage(NextPage, true, true) elseif (opFlag and ButtonType and ButtonType == "add") then configRowId = "-1" web.goToPage(NextPage, true, true) elseif (opFlag and ButtonType and ButtonType == "edit") then local field, splitted, rows = web.cgiSearch(cgi, "BandWidthProfile") if (rows and rows["1"]) then configRowId = rows["1"] else configRowId = "-1" end web.goToPage(NextPage, true, true) elseif (opFlag and ButtonType and ButtonType == "delete") then local field, splitted, rows = web.cgiSearch(cgi, "BandWidthProfile") -- if any rows to delete if (rows) then errorFlag, statusCode = bwProfiles.deleteProfiles (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 configRow = {} configRow = db.getRow("BandWidthProfileStatus", "_ROWID_", "1") ?>
Helpful Hints...
$| helpfullHints or '' |$
|