From 9354c17eabb266afa7f2642c2e97c6b3af93a72c Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Fri, 15 Aug 2008 00:07:50 +0000 Subject: modules/admin-full: Reworked DHCP configuration --- modules/admin-full/luasrc/controller/admin/network.lua | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'modules/admin-full/luasrc/controller') diff --git a/modules/admin-full/luasrc/controller/admin/network.lua b/modules/admin-full/luasrc/controller/admin/network.lua index 76145294cc..a4b070c022 100644 --- a/modules/admin-full/luasrc/controller/admin/network.lua +++ b/modules/admin-full/luasrc/controller/admin/network.lua @@ -20,12 +20,12 @@ function index() local page = node("admin", "network") page.target = template("admin_network/index") - page.title = i18n("network", "Netzwerk") + page.title = i18n("network") page.order = 50 local page = node("admin", "network", "vlan") page.target = cbi("admin_network/vlan") - page.title = i18n("a_n_switch", "Switch") + page.title = i18n("a_n_switch") page.order = 20 local page = node("admin", "network", "network") @@ -52,6 +52,12 @@ function index() page.title = "DHCP" page.order = 30 + entry( + {"admin", "network", "dhcp", "leases"}, + cbi("admin_network/dhcpleases"), + i18n("dhcp_leases") + ) + local page = node("admin", "network", "routes") page.target = cbi("admin_network/routes") page.title = i18n("a_n_routes") -- cgit v1.2.3