X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=libs%2Fweb%2Fluasrc%2Fview%2Fcbi%2Ffirewall_zonelist.htm;fp=libs%2Fweb%2Fluasrc%2Fview%2Fcbi%2Ffirewall_zonelist.htm;h=0000000000000000000000000000000000000000;hp=7973437f40635931af60794ca56119f506fb85e8;hb=7043c30e0e55bbbfacdddf97619b6bae96d20ddb;hpb=bbb44cf245c11bc0c1d59e836007c9e8c3bfa209 diff --git a/libs/web/luasrc/view/cbi/firewall_zonelist.htm b/libs/web/luasrc/view/cbi/firewall_zonelist.htm deleted file mode 100644 index 7973437f4..000000000 --- a/libs/web/luasrc/view/cbi/firewall_zonelist.htm +++ /dev/null @@ -1,89 +0,0 @@ -<%+cbi/valueheader%> - -<%- - local utl = require "luci.util" - local fwm = require "luci.model.firewall".init() - local nwm = require "luci.model.network".init() - - local zone, net, iface - local zones = fwm:get_zones() - local value = self:formvalue(section) - if not value or value == "-" then - value = self:cfgvalue(section) or self.default - end - - local selected = false - local checked = { } - - for value in utl.imatch(value) do - checked[value] = true - end - - if not next(checked) then - checked[""] = true - end --%> - - - -<%+cbi/valuefooter%>