Globally reduce copyright headers
[project/luci.git] / modules / luci-mod-freifunk / luasrc / model / cbi / freifunk / contact.lua
1 -- Copyright 2008 Steven Barth <steven@midlink.org>
2 -- Copyright 2011 Manuel Munz <freifunk at somakoma dot de>
3 -- Licensed to the public under the Apache License 2.0.
4
5 m = Map("freifunk", translate("Contact"), translate("Please fill in your contact details below."))
6
7 c = m:section(NamedSection, "contact", "public", "")
8
9 c:option(Value, "nickname", translate("Nickname"))
10 c:option(Value, "name", translate("Realname"))
11 c:option(DynamicList, "homepage", translate("Homepage"))
12 c:option(Value, "mail", translate("E-Mail"))
13 c:option(Value, "phone", translate("Phone"))
14 c:option(TextValue, "note", translate("Notice")).rows = 10
15
16 return m