ad678f707acdc19cd6382ac8959235f67217f71a
[project/luci.git] / modules / admin-core / luasrc / model / cbi / admin_system / hostname.lua
1 --[[
2 LuCI - Lua Configuration Interface
3
4 Copyright 2008 Steven Barth <steven@midlink.org>
5
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
9
10         http://www.apache.org/licenses/LICENSE-2.0
11
12 $Id$
13 ]]--
14 m = Map("system", translate("hostname", "Hostname"), translate("a_s_hostname1", [[Definiert den Hostnamen des Routers.
15 Der Hostname ist eine im Netzwerk eindeutige Kennung, die dieses Gerät identifiziert.]]))
16
17 s = m:section(TypedSection, "system", "")
18 s.anonymous = true
19
20 s:option(Value, "hostname", translate("hostname", "Hostname"))
21
22 return m