summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-fw/luasrc/controller/luci_fw
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-08-04 23:36:33 +0000
committerSteven Barth <steven@midlink.org>2008-08-04 23:36:33 +0000
commit9a63ad7c1066182458c6e35c4edb8f2308022b8c (patch)
treefecac8d12008ed8e509767ca8051b565e8fb527c /applications/luci-fw/luasrc/controller/luci_fw
parent78fb71f88177ac7e9234065a8bdbe8310ffa95ad (diff)
applications/luci-fw: Reworked to use the new native UCI-based firewall configuration
Diffstat (limited to 'applications/luci-fw/luasrc/controller/luci_fw')
-rw-r--r--applications/luci-fw/luasrc/controller/luci_fw/luci_fw.lua9
1 files changed, 6 insertions, 3 deletions
diff --git a/applications/luci-fw/luasrc/controller/luci_fw/luci_fw.lua b/applications/luci-fw/luasrc/controller/luci_fw/luci_fw.lua
index b8967330cf..18b6f87f65 100644
--- a/applications/luci-fw/luasrc/controller/luci_fw/luci_fw.lua
+++ b/applications/luci-fw/luasrc/controller/luci_fw/luci_fw.lua
@@ -6,9 +6,12 @@ function index()
local nodes = {}
- table.insert(nodes, entry({"admin", "network", "portfw"}, cbi("luci_fw/portfw"), i18n("fw_portfw", "Portweiterleitung"), 70))
- table.insert(nodes, entry({"admin", "network", "routing"}, cbi("luci_fw/routing"), i18n("fw_routing", "Routing"), 73))
- table.insert(nodes, entry({"admin", "network", "firewall"}, cbi("luci_fw/firewall"), i18n("fw_fw", "Firewall"), 76))
+ table.insert(nodes, entry({"admin", "network", "firewall"}, alias("admin", "network", "firewall", "zones"), i18n("fw_fw"), 60))
+ table.insert(nodes, entry({"admin", "network", "firewall", "zones"}, cbi("luci_fw/general"), i18n("fw_zones"), 10))
+ table.insert(nodes, entry({"admin", "network", "firewall", "portfw"}, cbi("luci_fw/portfw"), i18n("fw_portfw"), 20))
+ table.insert(nodes, entry({"admin", "network", "firewall", "forwarding"}, cbi("luci_fw/routing"), i18n("fw_forwarding"), 30))
+ table.insert(nodes, entry({"admin", "network", "firewall", "rules"}, cbi("luci_fw/firewall"), i18n("fw_rules"), 40))
+ table.insert(nodes, entry({"admin", "network", "firewall", "customfwd"}, cbi("luci_fw/customfwd"), i18n("fw_custfwd"), 50))
table.insert(nodes, entry({"mini", "network", "portfw"}, cbi("luci_fw/miniportfw"), i18n("fw_portfw", "Portweiterleitung"), 70))