--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth Copyright 2011 Manuel Munz Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 ]]-- luci.i18n.loadc("freifunk") m = Map("freifunk", translate("Contact"), translate("Please fill in your contact details below.")) c = m:section(NamedSection, "contact", "public", "") c:option(Value, "nickname", translate("Nickname")) c:option(Value, "name", translate("Realname")) c:option(Value, "mail", translate("E-Mail")) c:option(Value, "phone", translate("Phone")) c:option(TextValue, "note", translate("Notice")).rows = 10 return m