X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=libs%2Fweb%2Fluasrc%2Fview%2Fcbi%2Ffirewall_zoneforwards.htm;fp=libs%2Fweb%2Fluasrc%2Fview%2Fcbi%2Ffirewall_zoneforwards.htm;h=0000000000000000000000000000000000000000;hp=2a433b5696872aa112d96d42be200d10f54d04ab;hb=7043c30e0e55bbbfacdddf97619b6bae96d20ddb;hpb=bbb44cf245c11bc0c1d59e836007c9e8c3bfa209 diff --git a/libs/web/luasrc/view/cbi/firewall_zoneforwards.htm b/libs/web/luasrc/view/cbi/firewall_zoneforwards.htm deleted file mode 100644 index 2a433b569..000000000 --- a/libs/web/luasrc/view/cbi/firewall_zoneforwards.htm +++ /dev/null @@ -1,59 +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, fwd, fz - local value = self:formvalue(section) - if not value or value == "-" then - value = self:cfgvalue(section) or self.default - end - - local def = fwm:get_defaults() - local zone = fwm:get_zone(value) - local empty = true --%> - -<% if zone then %> -
- -  ⇒  - <% for _, fwd in ipairs(zone:get_forwardings_by("src")) do - fz = fwd:dest_zone() - empty = false %> -   - <% end %> - <% if empty then %> - - <% end %> -
-<% end %> - -<%+cbi/valuefooter%>