diff options
author | Steven Barth <steven@midlink.org> | 2008-06-11 20:58:15 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-06-11 20:58:15 +0000 |
commit | 72019e300a1942f08981d38fefc9b21a7a40a21f (patch) | |
tree | ba5e5db65dc61fe3d4460d5da8031669347c455e /modules | |
parent | 92a919d8eec152aa1803e328aff68a3b3c283e77 (diff) |
* Added support for timezone setting
Diffstat (limited to 'modules')
-rw-r--r-- | modules/admin-core/luasrc/controller/admin/system.lua | 2 | ||||
-rw-r--r-- | modules/admin-core/luasrc/model/cbi/admin_system/system.lua (renamed from modules/admin-core/luasrc/model/cbi/admin_system/hostname.lua) | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/modules/admin-core/luasrc/controller/admin/system.lua b/modules/admin-core/luasrc/controller/admin/system.lua index ef4e303fb..862a741cd 100644 --- a/modules/admin-core/luasrc/controller/admin/system.lua +++ b/modules/admin-core/luasrc/controller/admin/system.lua @@ -22,7 +22,7 @@ function index() entry({"admin", "system", "packages", "ipkg"}, call("action_ipkg"), i18n("a_s_p_ipkg", "IPKG-Konfiguration")) entry({"admin", "system", "passwd"}, call("action_passwd"), i18n("a_s_changepw", "Passwort ändern"), 20) entry({"admin", "system", "sshkeys"}, call("action_sshkeys"), i18n("a_s_sshkeys", "SSH-Schlüssel"), 30) - entry({"admin", "system", "hostname"}, cbi("admin_system/hostname"), i18n("hostname", "Hostname"), 40) + entry({"admin", "system", "system"}, cbi("admin_system/system"), i18n("system", "System"), 40) entry({"admin", "system", "fstab"}, cbi("admin_system/fstab"), i18n("a_s_fstab", "Einhängepunkte"), 50) entry({"admin", "system", "upgrade"}, call("action_upgrade"), i18n("a_s_flash", "Firmwareupgrade"), 60) entry({"admin", "system", "reboot"}, call("action_reboot"), i18n("reboot", "Neu starten"), 70) diff --git a/modules/admin-core/luasrc/model/cbi/admin_system/hostname.lua b/modules/admin-core/luasrc/model/cbi/admin_system/system.lua index 1c74d90d7..dd59d8c01 100644 --- a/modules/admin-core/luasrc/model/cbi/admin_system/hostname.lua +++ b/modules/admin-core/luasrc/model/cbi/admin_system/system.lua @@ -11,11 +11,12 @@ You may obtain a copy of the License at $Id$ ]]-- -m = Map("system", translate("hostname"), translate("a_s_hostname1")) +m = Map("system", translate("system")) s = m:section(TypedSection, "system", "") s.anonymous = true s:option(Value, "hostname", translate("hostname")) +s:option(Value, "timezone", translate("timezone")) return m
\ No newline at end of file |