summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full/luasrc/controller/admin/wifi.lua
blob: 4bef0b7a520a9c8868796314e3da0661a1079a08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
--[[
LuCI - Lua Configuration Interface

Copyright 2008 Steven Barth <steven@midlink.org>

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

	http://www.apache.org/licenses/LICENSE-2.0

$Id$
]]--
module("luci.controller.admin.wifi", package.seeall)

function index()
	luci.i18n.loadc("admin-core")
	local i18n = luci.i18n.translate

	local page  = node("admin", "wifi")
	page.target = template("admin_wifi/index")
	page.title  = i18n("wifi", "Drahtlos")  
	page.order  = 60
	
	local page  = node("admin", "wifi", "devices")
	page.target = cbi("admin_wifi/devices")
	page.title  = i18n("devices", "Geräte")
	page.order  = 10
	
	local page  = node("admin", "wifi", "networks")
	page.target = cbi("admin_wifi/networks")
	page.title  = i18n("networks", "Netze")
	page.order  = 20
end