modules/admin-full: do not generate submenu items per wifi-device anymore

This commit is contained in:
Jo-Philipp Wich 2009-10-29 02:35:23 +00:00
parent 91856a9242
commit dab004b0af

View file

@ -34,15 +34,6 @@ function index()
page.leaf = true page.leaf = true
page.subindex = true page.subindex = true
uci:foreach("wireless", "wifi-device",
function (section)
local ifc = section[".name"]
entry({"admin", "network", "wireless", ifc},
true,
ifc:upper()).i18n = "wifi"
end
)
local page = entry({"admin", "network", "wireless_join"}, call("wifi_join"), nil, 16) local page = entry({"admin", "network", "wireless_join"}, call("wifi_join"), nil, 16)
page.i18n = "wifi" page.i18n = "wifi"
page.leaf = true page.leaf = true