diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-11-01 19:45:54 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-11-01 19:45:54 +0000 |
commit | b04c13bdccc05830e899c724c5314b159508c458 (patch) | |
tree | 5b0c4b9a17d395091088be650c4dabccd3324fe0 /applications/luci-firewall/luasrc/controller | |
parent | 26ba050939c9006757beb49ec53c61a25dca16eb (diff) |
applications/luci-firewall: complete rework
Diffstat (limited to 'applications/luci-firewall/luasrc/controller')
-rw-r--r-- | applications/luci-firewall/luasrc/controller/luci_fw/luci_fw.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/applications/luci-firewall/luasrc/controller/luci_fw/luci_fw.lua b/applications/luci-firewall/luasrc/controller/luci_fw/luci_fw.lua index 766821af0d..38670d3582 100644 --- a/applications/luci-firewall/luasrc/controller/luci_fw/luci_fw.lua +++ b/applications/luci-firewall/luasrc/controller/luci_fw/luci_fw.lua @@ -5,9 +5,9 @@ function index() local i18n = luci.i18n.translate entry({"admin", "network", "firewall"}, alias("admin", "network", "firewall", "zones"), i18n("Firewall"), 60).i18n = "luci-fw" - entry({"admin", "network", "firewall", "zones"}, cbi("luci_fw/zones"), i18n("Zones"), 10) - entry({"admin", "network", "firewall", "redirect"}, arcombine(cbi("luci_fw/redirect"), cbi("luci_fw/rrule")), i18n("Traffic Redirection"), 30).leaf = true - entry({"admin", "network", "firewall", "rule"}, arcombine(cbi("luci_fw/traffic"), cbi("luci_fw/trule")), i18n("Traffic Control"), 20).leaf = true - + entry({"admin", "network", "firewall", "zones"}, arcombine(cbi("luci_fw/zones"), cbi("luci_fw/zone")), nil, 10).leaf = true + entry({"admin", "network", "firewall", "rule"}, arcombine(cbi("luci_fw/zones"), cbi("luci_fw/trule")), nil, 20).leaf = true + entry({"admin", "network", "firewall", "redirect"}, arcombine(cbi("luci_fw/zones"), cbi("luci_fw/rrule")), nil, 30).leaf = true + entry({"mini", "network", "portfw"}, cbi("luci_fw/miniportfw", {autoapply=true}), i18n("Port forwarding"), 70).i18n = "luci-fw" -end
\ No newline at end of file +end |