luci/modules/luci-mod-admin-mini/luasrc/controller/mini/network.lua
Hannu Nyman cc801de89c luci-mod-admin-full/mini: replace Wifi with Wireless in menus
Replace the menu item "Wifi" by "Wireless",
which is already used for page and section headings

This closes #695

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-06-09 11:55:20 +03:00

12 lines
603 B
Lua

-- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
module("luci.controller.mini.network", package.seeall)
function index()
entry({"mini", "network"}, alias("mini", "network", "index"), _("Network"), 20).index = true
entry({"mini", "network", "index"}, cbi("mini/network", {autoapply=true}), _("General"), 1)
entry({"mini", "network", "wifi"}, cbi("mini/wifi", {autoapply=true}), _("Wireless"), 10)
entry({"mini", "network", "dhcp"}, cbi("mini/dhcp", {autoapply=true}), _("DHCP"), 20)
end