From 8815b6a7dd24a481606db03c5980bc310709a103 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Thu, 9 Oct 2008 20:28:07 +0000 Subject: OXYGEN #1: Added index-marks --- applications/luci-fw/luasrc/controller/luci_fw/luci_fw.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'applications/luci-fw') 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 4d8c13840..d952b6043 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)) -- cgit v1.2.3