summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full/luasrc/controller/admin
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-08-15 00:07:50 +0000
committerSteven Barth <steven@midlink.org>2008-08-15 00:07:50 +0000
commit9354c17eabb266afa7f2642c2e97c6b3af93a72c (patch)
tree61f5e8b993914e5c3005c203adf2f62917c5fbe5 /modules/admin-full/luasrc/controller/admin
parent5aa6c0bb68201ea5133c52eb509e94912e443bff (diff)
modules/admin-full: Reworked DHCP configuration
Diffstat (limited to 'modules/admin-full/luasrc/controller/admin')
-rw-r--r--modules/admin-full/luasrc/controller/admin/network.lua10
1 files changed, 8 insertions, 2 deletions
diff --git a/modules/admin-full/luasrc/controller/admin/network.lua b/modules/admin-full/luasrc/controller/admin/network.lua
index 76145294c..a4b070c02 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")