summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-mini/luasrc/controller/mini
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-07-16 15:19:05 +0000
committerSteven Barth <steven@midlink.org>2008-07-16 15:19:05 +0000
commit0a0712b9d953838c58b91bd0941770105f18ad64 (patch)
tree47fda2f89e1371327c321fc710c848427b04cef2 /modules/admin-mini/luasrc/controller/mini
parent66a6492ae5aa9779af6d22eaddf0f5f253ed1189 (diff)
Added a note to the Freifunk menu for OpenWRT
modules/admin-mini: Several small fixes and improvements
Diffstat (limited to 'modules/admin-mini/luasrc/controller/mini')
-rw-r--r--modules/admin-mini/luasrc/controller/mini/network.lua5
-rw-r--r--modules/admin-mini/luasrc/controller/mini/system.lua2
2 files changed, 4 insertions, 3 deletions
diff --git a/modules/admin-mini/luasrc/controller/mini/network.lua b/modules/admin-mini/luasrc/controller/mini/network.lua
index 177afc9783..3de052644c 100644
--- a/modules/admin-mini/luasrc/controller/mini/network.lua
+++ b/modules/admin-mini/luasrc/controller/mini/network.lua
@@ -19,6 +19,7 @@ function index()
luci.i18n.loadc("admin-core")
local i18n = luci.i18n.translate
- entry({"mini", "network"}, cbi("mini-network/basic"), i18n("network"))
- entry({"mini", "network", "dhcp"}, cbi("mini-network/dhcp"), "DHCP", 10)
+ 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)
end \ No newline at end of file
diff --git a/modules/admin-mini/luasrc/controller/mini/system.lua b/modules/admin-mini/luasrc/controller/mini/system.lua
index 3b3fea228d..e4541b45d3 100644
--- a/modules/admin-mini/luasrc/controller/mini/system.lua
+++ b/modules/admin-mini/luasrc/controller/mini/system.lua
@@ -20,7 +20,7 @@ function index()
local i18n = luci.i18n.translate
entry({"mini", "system"}, call("action_reboot"), i18n("system"))
- entry({"admin", "system", "passwd"}, call("action_passwd"), i18n("a_s_changepw"), 10)
+ entry({"mini", "system", "passwd"}, call("action_passwd"), i18n("a_s_changepw"), 10)
entry({"mini", "system", "upgrade"}, call("action_upgrade"), i18n("a_s_flash"), 20)
entry({"mini", "system", "reboot"}, call("action_reboot"), i18n("reboot"), 30)
end