diff options
author | Steven Barth <steven@midlink.org> | 2008-07-16 18:54:10 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-07-16 18:54:10 +0000 |
commit | 8d1aff78b17d6f7437d776bdf53a6aa2112f31db (patch) | |
tree | 48784a8d48cc782ec63a5cc705f3779a7fae8a3d /modules/admin-mini/luasrc/controller | |
parent | ea69b8dccc80c0b6c16225f2328834a7fd3be062 (diff) |
modules/admin-mini: Added Wifi configuration
several smaller bugfixes and enhancements
Diffstat (limited to 'modules/admin-mini/luasrc/controller')
-rw-r--r-- | modules/admin-mini/luasrc/controller/mini/network.lua | 4 | ||||
-rw-r--r-- | modules/admin-mini/luasrc/controller/mini/wifi.lua | 22 |
2 files changed, 24 insertions, 2 deletions
diff --git a/modules/admin-mini/luasrc/controller/mini/network.lua b/modules/admin-mini/luasrc/controller/mini/network.lua index 3de052644..d59dbe7e4 100644 --- a/modules/admin-mini/luasrc/controller/mini/network.lua +++ b/modules/admin-mini/luasrc/controller/mini/network.lua @@ -20,6 +20,6 @@ function index() local i18n = luci.i18n.translate entry({"mini", "network"}, alias("mini", "network", "basic"), i18n("network"), 20) - entry({"mini", "network", "basic"}, cbi("mini-network/basic"), i18n("basicsettings"), 10) - entry({"mini", "network", "dhcp"}, cbi("mini-network/dhcp"), "DHCP", 20) + entry({"mini", "network", "basic"}, cbi("mini/network"), i18n("basicsettings"), 10) + entry({"mini", "network", "dhcp"}, cbi("mini/dhcp"), "DHCP", 20) end
\ No newline at end of file diff --git a/modules/admin-mini/luasrc/controller/mini/wifi.lua b/modules/admin-mini/luasrc/controller/mini/wifi.lua new file mode 100644 index 000000000..91183199b --- /dev/null +++ b/modules/admin-mini/luasrc/controller/mini/wifi.lua @@ -0,0 +1,22 @@ +--[[ +LuCI - Lua Configuration Interface + +Copyright 2008 Steven Barth <steven@midlink.org> +Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net> + +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.mini.wifi", package.seeall) + +function index() + luci.i18n.loadc("admin-core") + local i18n = luci.i18n.translate + + entry({"mini", "wifi"}, cbi("mini/wifi"), i18n("wifi", "Drahtlos"), 30) +end
\ No newline at end of file |