summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full/luasrc/controller/admin/index.lua
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-10-09 20:28:07 +0000
committerSteven Barth <steven@midlink.org>2008-10-09 20:28:07 +0000
commit8815b6a7dd24a481606db03c5980bc310709a103 (patch)
tree0f9f9ff74722ab4210b84893757d072be5231766 /modules/admin-full/luasrc/controller/admin/index.lua
parentdc494c838c15ef59a72927b9cf6f18878d06bd69 (diff)
OXYGEN #1: Added index-marks
Diffstat (limited to 'modules/admin-full/luasrc/controller/admin/index.lua')
-rw-r--r--modules/admin-full/luasrc/controller/admin/index.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/admin-full/luasrc/controller/admin/index.lua b/modules/admin-full/luasrc/controller/admin/index.lua
index cab9441d02..071dd595d3 100644
--- a/modules/admin-full/luasrc/controller/admin/index.lua
+++ b/modules/admin-full/luasrc/controller/admin/index.lua
@@ -20,6 +20,7 @@ function index()
local root = node()
if not root.target then
root.target = alias("admin")
+ root.index = true
end
entry({"about"}, template("about")).i18n = "admin-core"
@@ -32,11 +33,13 @@ function index()
page.sysauth = "root"
page.sysauth_authenticator = "htmlauth"
page.ucidata = true
+ page.index = true
local page = node("admin", "index")
page.target = template("admin_index/index")
page.title = i18n("overview", "Übersicht")
page.order = 10
+ page.index = true
local page = node("admin", "index", "luci")
page.target = cbi("admin_index/luci")