diff options
author | Steven Barth <steven@midlink.org> | 2008-10-09 20:28:07 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-10-09 20:28:07 +0000 |
commit | 8815b6a7dd24a481606db03c5980bc310709a103 (patch) | |
tree | 0f9f9ff74722ab4210b84893757d072be5231766 /applications/luci-fw/luasrc/controller/luci_fw | |
parent | dc494c838c15ef59a72927b9cf6f18878d06bd69 (diff) |
OXYGEN #1: Added index-marks
Diffstat (limited to 'applications/luci-fw/luasrc/controller/luci_fw')
-rw-r--r-- | applications/luci-fw/luasrc/controller/luci_fw/luci_fw.lua | 6 |
1 files changed, 4 insertions, 2 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 4d8c13840e..d952b6043d 100644 --- a/applications/luci-fw/luasrc/controller/luci_fw/luci_fw.lua +++ b/applications/luci-fw/luasrc/controller/luci_fw/luci_fw.lua @@ -7,14 +7,16 @@ function index() local nodes = {} table.insert(nodes, entry({"admin", "network", "firewall"}, alias("admin", "network", "firewall", "zones"), i18n("fw_fw"), 60)) + nodes[#nodes].index = true + table.insert(nodes, entry({"admin", "network", "firewall", "zones"}, cbi("luci_fw/zones"), i18n("fw_zones"), 10)) table.insert(nodes, entry({"admin", "network", "firewall", "redirection"}, cbi("luci_fw/redirect"), i18n("fw_redirect"), 30)) table.insert(nodes, entry({"admin", "network", "firewall", "traffic"}, cbi("luci_fw/traffic"), i18n("fw_traffic"), 20)) table.insert(nodes, entry({"admin", "network", "firewall", "rule"}, cbi("luci_fw/trule"))) - nodes[#nodes].leaf = true + nodes[#nodes].leaf = true table.insert(nodes, entry({"admin", "network", "firewall", "redirect"}, cbi("luci_fw/rrule"))) - nodes[#nodes].leaf = true + nodes[#nodes].leaf = true table.insert(nodes, entry({"mini", "network", "portfw"}, cbi("luci_fw/miniportfw"), i18n("fw_portfw", "Portweiterleitung"), 70)) |