-- Copyright 2014 Christian Schoenebeck -- Licensed under the Apache License, Version 2.0 local CTRL = require "luci.controller.privoxy" -- this application's controller local DISP = require "luci.dispatcher" local SYS = require "luci.sys" local HELP = [[%s]] -- cbi-map -- ################################################################## local m = Map("privoxy") m.title = [[]] .. translate("Privoxy WEB proxy") m.description = translate("Privoxy is a non-caching web proxy with advanced filtering " .. "capabilities for enhancing privacy, modifying web page data and HTTP headers, " .. "controlling access, and removing ads and other obnoxious Internet junk.") -- cbi-section -- ############################################################## local s = m:section(SimpleSection) s.title = [[]] .. [[]] .. translate("Software update required") .. [[]] .. [[]] -- old privoxy sofware version -------------------------------------------------------------- local v = s:option(DummyValue, "_update_needed") v.titleref = DISP.build_url("admin", "system", "packages") v.rawhtml = true --v.title = [[

]] .. [[]] .. [[]] -- .. translate("Software update required") -- .. [[]] .. [[]] .. [[

]] .. [[
]] v.value = [[

]] .. [[]] .. translate("The currently installed 'privoxy' package is not supported by LuCI application.") .. [[
]] .. translate("Please update to the current version!") .. [[
]] .. [[

]] return m