* Moved Freifunk status pages to admin-core and linked them in Freifunk
[project/luci.git] / modules / admin-core / luasrc / controller / admin / index.lua
1 module("luci.controller.admin.index", package.seeall)
2
3 function index()
4         luci.i18n.loadc("admin-core")
5         local i18n = luci.i18n.translate
6
7         local root = node()
8         if not root.target then
9                 root.target = alias("admin")
10         end
11         
12         entry({"about"}, template("about")).i18n = "admin-core"
13         
14         local page   = node("admin")
15         page.target  = alias("admin", "index")
16         page.title   = i18n("administration", "Administration")
17         page.order   = 10
18         page.i18n    = "admin-core"
19         page.sysauth = "root"
20         
21         local page  = node("admin", "index")
22         page.target = template("admin_index/index")
23         page.title  = i18n("overview", "Übersicht")
24         page.order  = 10
25         
26         local page  = node("admin", "index", "luci")
27         page.target = cbi("admin_index/luci")
28         page.title  = i18n("a_i_ui", "Oberfläche")
29         
30         
31 end