From 5f40074c0e2a6193cdd89893309787b2d31a24e4 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Mon, 26 May 2008 09:45:12 +0000 Subject: * Updated dispatcher to use fastindex if available * Updated webuci SGI * Updated dispatcher --- modules/admin-core/src/controller/admin/status.lua | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'modules') diff --git a/modules/admin-core/src/controller/admin/status.lua b/modules/admin-core/src/controller/admin/status.lua index 02c3af40b0..34c210ca6b 100644 --- a/modules/admin-core/src/controller/admin/status.lua +++ b/modules/admin-core/src/controller/admin/status.lua @@ -1,14 +1,8 @@ module("luci.controller.admin.status", package.seeall) function index() - local page = node("admin", "status") - page.target = template("admin_status/index") - page.title = "Status" - page.order = 20 - - local page = node("admin", "status", "syslog") - page.target = action_syslog - page.title = "Systemprotokoll" + entry({"admin", "status"}, template("admin_status/index"), "Status", 20) + entry({"admin", "status", "syslog"}, action_syslog, "Systemprotokoll") end function action_syslog() -- cgit v1.2.3