diff options
Diffstat (limited to 'applications')
-rw-r--r-- | applications/luci-fw/src/controller/luci_fw/luci_fw.lua | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/applications/luci-fw/src/controller/luci_fw/luci_fw.lua b/applications/luci-fw/src/controller/luci_fw/luci_fw.lua index 864455ca8f..9a92b90998 100644 --- a/applications/luci-fw/src/controller/luci_fw/luci_fw.lua +++ b/applications/luci-fw/src/controller/luci_fw/luci_fw.lua @@ -1,18 +1,7 @@ module("ffluci.controller.luci_fw.luci_fw", package.seeall) function index() - local page = node("admin", "network", "portfw") - page.target = cbi("luci_fw/portfw") - page.title = "Portweiterleitung" - page.order = 70 - - local page = node("admin", "network", "routing") - page.target = cbi("luci_fw/routing") - page.title = "Routing" - page.order = 72 - - local page = node("admin", "network", "firewall") - page.target = cbi("luci_fw/firewall") - page.title = "Firewall" - page.order = 74 + entry({"admin", "network", "portfw"}, cbi("luci_fw/portfw"), "Portweiterleitung", 70) + entry({"admin", "network", "routing"}, cbi("luci_fw/routing"), "Routing", 72) + entry({"admin", "network", "firewall"}, cbi("luci_fw/firewall"), "Firewall", 74) end
\ No newline at end of file |