diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2011-05-04 21:37:41 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2011-05-04 21:37:41 +0000 |
commit | 73112f9c44b0dc333b6ec1878009e0e69c8db500 (patch) | |
tree | b1df17cb68da80cc5d88abac98800e32082f3f4c /modules/admin-full/luasrc/controller | |
parent | ec0fbaff3e6f475805ab62d4ed27d293dae97965 (diff) |
modules/admin-full: fix system/admin from form() to cbi() type to add missing apply button (#234), integrate services/initscripts as system/startup
Diffstat (limited to 'modules/admin-full/luasrc/controller')
-rw-r--r-- | modules/admin-full/luasrc/controller/admin/system.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/admin-full/luasrc/controller/admin/system.lua b/modules/admin-full/luasrc/controller/admin/system.lua index c79397b5e..69ef6b7aa 100644 --- a/modules/admin-full/luasrc/controller/admin/system.lua +++ b/modules/admin-full/luasrc/controller/admin/system.lua @@ -21,9 +21,10 @@ function index() entry({"admin", "system"}, alias("admin", "system", "system"), i18n("System"), 30).index = true entry({"admin", "system", "system"}, cbi("admin_system/system"), i18n("System"), 1) - entry({"admin", "system", "admin"}, form("admin_system/admin"), i18n("Administration"), 2) + entry({"admin", "system", "admin"}, cbi("admin_system/admin"), i18n("Administration"), 2) entry({"admin", "system", "packages"}, call("action_packages"), i18n("Software"), 10) entry({"admin", "system", "packages", "ipkg"}, form("admin_system/ipkg")) + entry({"admin", "system", "startup"}, form("admin_system/startup"), i18n("Startup"), 45) if nixio.fs.access("/etc/config/fstab") then entry({"admin", "system", "fstab"}, cbi("admin_system/fstab"), i18n("Mount Points"), 50) |