diff options
author | Steven Barth <steven@midlink.org> | 2008-05-22 17:21:30 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-05-22 17:21:30 +0000 |
commit | b515d6f88e8cbfe1b742d0a5cc99aa2d55b6c38e (patch) | |
tree | 54974b75609a670549c83864684f81f7a24ccc41 /applications/luci-fw/src/controller | |
parent | 505c3208c90d649cd2397a100c93925d480cce91 (diff) |
* Changed Makefiles to use mainline Lua
* Added a dispatching shortcut (thanks to Jow)
Diffstat (limited to 'applications/luci-fw/src/controller')
-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 |