From: Jo-Philipp Wich Date: Mon, 12 Dec 2011 14:17:35 +0000 (+0000) Subject: luci-0.10: merge r8082 X-Git-Tag: 0.10.0~10 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=86268bd4e6cddbfe0182cbd683663451e8740131;p=oweals%2Fluci.git luci-0.10: merge r8082 --- diff --git a/applications/luci-statistics/luasrc/controller/luci_statistics/luci_statistics.lua b/applications/luci-statistics/luasrc/controller/luci_statistics/luci_statistics.lua index 5c1376435..5600939b5 100644 --- a/applications/luci-statistics/luasrc/controller/luci_statistics/luci_statistics.lua +++ b/applications/luci-statistics/luasrc/controller/luci_statistics/luci_statistics.lua @@ -66,7 +66,7 @@ function index() } -- create toplevel menu nodes - local st = entry({"admin", "statistics"}, call("statistics_index"), _("Statistics"), 80) + local st = entry({"admin", "statistics"}, template("admin_statistics/index"), _("Statistics"), 80) st.i18n = "statistics" st.index = true @@ -97,7 +97,7 @@ function index() end -- output views - local page = entry( { "admin", "statistics", "graph" }, call("statistics_index"), _("Graphs"), 80) + local page = entry( { "admin", "statistics", "graph" }, template("admin_statistics/index"), _("Graphs"), 80) page.i18n = "statistics" page.setuser = "nobody" page.setgroup = "nogroup"