summaryrefslogtreecommitdiffhomepage
path: root/modules/freifunk/luasrc/controller
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-05-25 13:53:31 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-05-25 13:53:31 +0000
commit7ae3fc5478312e6213d33b6300626eeb8cde9a5f (patch)
tree43aafb7fdafb4cba2d182070b280e8d39c5822dc /modules/freifunk/luasrc/controller
parentd70ff10fd6b7606e3c6b76ea3f407a4391cec9ab (diff)
modules/freifunk: add map
Diffstat (limited to 'modules/freifunk/luasrc/controller')
-rw-r--r--modules/freifunk/luasrc/controller/freifunk/freifunk.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/freifunk/luasrc/controller/freifunk/freifunk.lua b/modules/freifunk/luasrc/controller/freifunk/freifunk.lua
index 6c8911b76..fd61bb3bd 100644
--- a/modules/freifunk/luasrc/controller/freifunk/freifunk.lua
+++ b/modules/freifunk/luasrc/controller/freifunk/freifunk.lua
@@ -71,6 +71,9 @@ function index()
page.target = cbi("freifunk/contact")
page.title = "Kontakt"
page.order = 40
+
+ entry({"freifunk", "map"}, template("freifunk-map/frame"), translate("freifunk_map", "Karte"), 50)
+ entry({"freifunk", "map", "content"}, template("freifunk-map/map"), nil, 51)
end
local function fetch_olsrd()