summaryrefslogtreecommitdiffhomepage
path: root/modules/freifunk/luasrc/controller
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-09-15 16:52:58 +0000
committerSteven Barth <steven@midlink.org>2008-09-15 16:52:58 +0000
commitdbd1d3c273a5c4cf47244ae8db7c25f1852aeb5e (patch)
tree438913cba2d302f2ab9691ee036ad03964c7201a /modules/freifunk/luasrc/controller
parentdc33ed7b570144f5269151e5df218a7a3a37b52a (diff)
Reorganised Freifunk pages
Unified Community configuration
Diffstat (limited to 'modules/freifunk/luasrc/controller')
-rw-r--r--modules/freifunk/luasrc/controller/freifunk/freifunk.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/freifunk/luasrc/controller/freifunk/freifunk.lua b/modules/freifunk/luasrc/controller/freifunk/freifunk.lua
index af584cd83..096f5b7e5 100644
--- a/modules/freifunk/luasrc/controller/freifunk/freifunk.lua
+++ b/modules/freifunk/luasrc/controller/freifunk/freifunk.lua
@@ -52,12 +52,14 @@ function index()
assign({"freifunk", "statistics"}, {"admin", "statistics", "graph"}, i18n("stat_statistics", "Statistiken"), 40)
end
- local page = node("admin", "index", "freifunk")
+ assign({"mini", "freifunk"}, {"admin", "freifunk"}, "Freifunk", 15)
+ entry({"admin", "freifunk"}, alias("admin", "freifunk", "index"), "Freifunk", 15)
+ local page = node("admin", "freifunk", "index")
page.target = cbi("freifunk/freifunk")
page.title = "Freifunk"
page.order = 30
- local page = node("admin", "index", "contact")
+ local page = node("admin", "freifunk", "contact")
page.target = cbi("freifunk/contact")
page.title = "Kontakt"
page.order = 40