diff options
author | Steven Barth <steven@midlink.org> | 2008-09-14 21:59:14 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-09-14 21:59:14 +0000 |
commit | 5872bfa084797e903b5ba1a722c22938a6a9cc95 (patch) | |
tree | 0b5087850801fe68155d5da66c31c6e5a49483ec /modules/freifunk/luasrc | |
parent | d0442f8aab131cb53deaed1da81e09001cc33a82 (diff) |
Overall Freifunk improvements
Diffstat (limited to 'modules/freifunk/luasrc')
-rw-r--r-- | modules/freifunk/luasrc/model/cbi/freifunk/contact.lua | 9 | ||||
-rw-r--r-- | modules/freifunk/luasrc/model/cbi/freifunk/freifunk.lua | 3 |
2 files changed, 9 insertions, 3 deletions
diff --git a/modules/freifunk/luasrc/model/cbi/freifunk/contact.lua b/modules/freifunk/luasrc/model/cbi/freifunk/contact.lua index 203b1ce6dc..fd3bcf7ef8 100644 --- a/modules/freifunk/luasrc/model/cbi/freifunk/contact.lua +++ b/modules/freifunk/luasrc/model/cbi/freifunk/contact.lua @@ -20,7 +20,12 @@ c:option(Value, "name", translate("name")) c:option(Value, "mail", translate("mail"), translate("mail1")) c:option(Value, "phone", translate("phone")) c:option(Value, "location", translate("location")) -c:option(Value, "geo", translate("coord"), translate("coord1")) c:option(Value, "note", translate("note")) -return m
\ No newline at end of file +m2 = Map("system", translate("geo")) + +s = m2:section(TypedSection, "system", "") +s:option(Value, "latitude", translate("latitude", "Breite")).rmempty = true +s:option(Value, "longitude", translate("longitude", "Länge")).rmempty = true + +return m, m2
\ No newline at end of file diff --git a/modules/freifunk/luasrc/model/cbi/freifunk/freifunk.lua b/modules/freifunk/luasrc/model/cbi/freifunk/freifunk.lua index f1bf641632..1a147460b7 100644 --- a/modules/freifunk/luasrc/model/cbi/freifunk/freifunk.lua +++ b/modules/freifunk/luasrc/model/cbi/freifunk/freifunk.lua @@ -18,6 +18,7 @@ für die lokale Freifunkgemeinschaft. Diese Werte wirken sich NICHT auf die Konf des Routers aus, sondern definieren nur die Vorgaben für den Freifunkassistenten.]]) c:option(Value, "name", "Gemeinschaft") c:option(Value, "homepage", "Webseite") -c:option(Value, "realm", "Realm") +c:option(Value, "ssid", "ESSID") +c:option(Value, "prefix", "Netzprefix") return m
\ No newline at end of file |