Changeset 8082
- Timestamp:
- 12/12/11 15:13:07 (18 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
luci/trunk/applications/luci-statistics/luasrc/controller/luci_statistics/luci_statistics.lua
r8059 r8082 70 70 71 71 -- create toplevel menu nodes 72 local st = entry({"admin", "statistics"}, call("statistics_index"), _("Statistics"), 80)72 local st = entry({"admin", "statistics"}, template("admin_statistics/index"), _("Statistics"), 80) 73 73 st.i18n = "statistics" 74 74 st.index = true … … 100 100 101 101 -- output views 102 local page = entry( { "admin", "statistics", "graph" }, call("statistics_index"), _("Graphs"), 80)102 local page = entry( { "admin", "statistics", "graph" }, template("admin_statistics/index"), _("Graphs"), 80) 103 103 page.i18n = "statistics" 104 104 page.setuser = "nobody" … … 116 116 entry( 117 117 { "admin", "statistics", "graph", plugin }, 118 template("admin_statistics/index"), labels[plugin], i118 call("statistics_render"), labels[plugin], i 119 119 ).query = { timespan = span } 120 120
