Changeset 6719
- Timestamp:
- 01/13/11 23:21:16 (2 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
luci/trunk/modules/admin-full/luasrc/controller/admin/index.lua
r5485 r6719 23 23 root.index = true 24 24 end 25 26 entry({"about"}, template("about")) 27 25 28 26 local page = node("admin") 29 page.target = alias("admin", " index")27 page.target = alias("admin", "status") 30 28 page.title = i18n("Administration") 31 29 page.order = 10 … … 34 32 page.ucidata = true 35 33 page.index = true 36 37 local page = node("admin", "index")38 page.target = template("admin_index/index")39 page.title = i18n("Overview")40 page.order = 1041 page.index = true42 34 43 local page = node("admin", "index", "luci") 44 page.target = cbi("admin_index/luci") 45 page.title = i18n("User Interface") 46 page.order = 10 47 48 entry({"admin", "index", "components"}, call("redir_components"), i18n("LuCI Components"), 20) 49 entry({"admin", "index", "logout"}, call("action_logout"), i18n("Logout"), 90) 50 end 51 52 function redir_components() 53 luci.http.redirect(luci.dispatcher.build_url("admin", "system", "packages")..'?update=1&query=luci') 35 entry({"admin", "logout"}, call("action_logout"), i18n("Logout"), 90) 54 36 end 55 37
