summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full/luasrc/controller/admin
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-11-09 01:10:08 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-11-09 01:10:08 +0000
commitca6a1fc3bc97f75aefec751aba48526e39d7d38b (patch)
treeb7d1e2ba1d969e975253df7e259f43a86d89e863 /modules/admin-full/luasrc/controller/admin
parent603ea189d7748ff4edd6b3e03e3de11e6b22e5ac (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.lua13
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")