summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-mini/luasrc/controller
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-07-18 14:08:34 +0000
committerSteven Barth <steven@midlink.org>2008-07-18 14:08:34 +0000
commit94836433e5a181bb0b3568bdb358f31a1b4f3e5f (patch)
tree11e5e0e46702945855c79907b5ae7d87d49ffaa7 /modules/admin-mini/luasrc/controller
parentdaa7d4e8a451b890fa1d2ac62d41dd14c5e91ff7 (diff)
modules/admin-full: Improved system configuration page
modules/admin-mini: Introduced system configuration page
Diffstat (limited to 'modules/admin-mini/luasrc/controller')
-rw-r--r--modules/admin-mini/luasrc/controller/mini/network.lua3
-rw-r--r--modules/admin-mini/luasrc/controller/mini/system.lua2
2 files changed, 2 insertions, 3 deletions
diff --git a/modules/admin-mini/luasrc/controller/mini/network.lua b/modules/admin-mini/luasrc/controller/mini/network.lua
index d59dbe7e4..838bc9b95 100644
--- a/modules/admin-mini/luasrc/controller/mini/network.lua
+++ b/modules/admin-mini/luasrc/controller/mini/network.lua
@@ -19,7 +19,6 @@ function index()
luci.i18n.loadc("admin-core")
local i18n = luci.i18n.translate
- entry({"mini", "network"}, alias("mini", "network", "basic"), i18n("network"), 20)
- entry({"mini", "network", "basic"}, cbi("mini/network"), i18n("basicsettings"), 10)
+ entry({"mini", "network"}, cbi("mini/network"), i18n("network"), 20)
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/system.lua b/modules/admin-mini/luasrc/controller/mini/system.lua
index 9cc5b18f7..b24c1c065 100644
--- a/modules/admin-mini/luasrc/controller/mini/system.lua
+++ b/modules/admin-mini/luasrc/controller/mini/system.lua
@@ -19,7 +19,7 @@ function index()
luci.i18n.loadc("admin-core")
local i18n = luci.i18n.translate
- entry({"mini", "system"}, call("action_reboot"), i18n("system"))
+ entry({"mini", "system"}, cbi("mini/system"), i18n("system"))
entry({"mini", "system", "passwd"}, call("action_passwd"), i18n("a_s_changepw"), 10)
entry({"mini", "system", "upgrade"}, call("action_upgrade"), i18n("a_s_flash"), 90)
entry({"mini", "system", "reboot"}, call("action_reboot"), i18n("reboot"), 100)