= 124) then statusMessage = "Can't add configuration to this table. Maximum limit reached." NextPage = "services" else errorFlag, statusCode = fwView.serviceConfig(inputTable, RowId, "add") -- save db if no error if (errorFlag == "OK") then db.save() end statusMessage = db.getAttribute("stringsMap", "stringId", statusCode, LANGUAGE) end end end end web.goToPage(NextPage, true, true) elseif (ButtonType and ButtonType == "edit") then configRowId = RowId web.goToPage(NextPage, true, true) elseif (ButtonType and ButtonType == "delete") then local inputTable = web.cgiToLuaTable(cgi) local field, splitted, rows = web.cgiSearch(cgi, "ServicesChk") -- if any rows to delete if (rows) then errorFlag, statusCode = fwView.deleteServices (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 ?>