From 37cf3e0ef18cbe4dd4c9b38e3948b96dca412790 Mon Sep 17 00:00:00 2001 From: Christian Schoenebeck Date: Sun, 1 Mar 2015 20:37:00 +0100 Subject: luci-app-privoxy: cleanup and fixes for #298 #334 #335 * remove extra apperror.lua page * so no nore need for extra directory inside model/cbi * add option temporary_directory needed for external filters * remove special handling of bootstrap theme #298 #334 * modified version handling suggested in #335 Signed-off-by: Christian Schoenebeck --- .../luasrc/model/cbi/privoxy/apperror.lua | 47 ---------------------- 1 file changed, 47 deletions(-) delete mode 100755 applications/luci-app-privoxy/luasrc/model/cbi/privoxy/apperror.lua (limited to 'applications/luci-app-privoxy/luasrc/model/cbi/privoxy/apperror.lua') diff --git a/applications/luci-app-privoxy/luasrc/model/cbi/privoxy/apperror.lua b/applications/luci-app-privoxy/luasrc/model/cbi/privoxy/apperror.lua deleted file mode 100755 index fcbb88074d..0000000000 --- a/applications/luci-app-privoxy/luasrc/model/cbi/privoxy/apperror.lua +++ /dev/null @@ -1,47 +0,0 @@ --- 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 -- cgit v1.2.3