diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-11-09 01:10:08 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-11-09 01:10:08 +0000 |
commit | ca6a1fc3bc97f75aefec751aba48526e39d7d38b (patch) | |
tree | b7d1e2ba1d969e975253df7e259f43a86d89e863 /modules/admin-full/luasrc/controller/admin | |
parent | 603ea189d7748ff4edd6b3e03e3de11e6b22e5ac (diff) |
modules/admin-full: remove dhcp network page and move leases there
Diffstat (limited to 'modules/admin-full/luasrc/controller/admin')
-rw-r--r-- | modules/admin-full/luasrc/controller/admin/network.lua | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/modules/admin-full/luasrc/controller/admin/network.lua b/modules/admin-full/luasrc/controller/admin/network.lua index 590b8f0ca..df2a4c47f 100644 --- a/modules/admin-full/luasrc/controller/admin/network.lua +++ b/modules/admin-full/luasrc/controller/admin/network.lua @@ -57,17 +57,10 @@ function index() end ) - local page = node("admin", "network", "dhcp") - page.target = cbi("admin_network/dhcp") - page.title = "DHCP" + local page = node("admin", "network", "dhcpleases") + page.target = cbi("admin_network/dhcpleases") + page.title = i18n("DHCP Leases") page.order = 30 - page.subindex = true - - entry( - {"admin", "network", "dhcp", "leases"}, - cbi("admin_network/dhcpleases"), - i18n("Leases") - ) local page = node("admin", "network", "hosts") page.target = cbi("admin_network/hosts") |