summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-mini/luasrc/controller
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-mini/luasrc/controller
parentdc494c838c15ef59a72927b9cf6f18878d06bd69 (diff)
OXYGEN #1: Added index-marks
Diffstat (limited to 'modules/admin-mini/luasrc/controller')
-rw-r--r--modules/admin-mini/luasrc/controller/mini/index.lua6
-rw-r--r--modules/admin-mini/luasrc/controller/mini/network.lua2
-rw-r--r--modules/admin-mini/luasrc/controller/mini/system.lua2
3 files changed, 6 insertions, 4 deletions
diff --git a/modules/admin-mini/luasrc/controller/mini/index.lua b/modules/admin-mini/luasrc/controller/mini/index.lua
index 77847dccc..4813b838e 100644
--- a/modules/admin-mini/luasrc/controller/mini/index.lua
+++ b/modules/admin-mini/luasrc/controller/mini/index.lua
@@ -22,6 +22,7 @@ function index()
local root = node()
if not root.lock then
root.target = alias("mini")
+ root.index = true
end
entry({"about"}, template("about")).i18n = "admin-core"
@@ -31,9 +32,10 @@ function index()
page.sysauth = "root"
page.sysauth_authenticator = "htmlauth"
page.ucidata = true
+ page.index = true
- entry({"mini", "index"}, alias("mini", "index", "index"), i18n("overview"), 10)
- entry({"mini", "index", "index"}, form("mini/index"), i18n("general"), 1)
+ entry({"mini", "index"}, alias("mini", "index", "index"), i18n("overview"), 10).index = true
+ entry({"mini", "index", "index"}, form("mini/index"), i18n("general"), 1).ignoreindex = true
entry({"mini", "index", "luci"}, cbi("mini/luci"), i18n("settings"), 10)
entry({"mini", "index", "logout"}, call("action_logout"), i18n("logout"))
end
diff --git a/modules/admin-mini/luasrc/controller/mini/network.lua b/modules/admin-mini/luasrc/controller/mini/network.lua
index e1a82e6c5..56ffc30f2 100644
--- a/modules/admin-mini/luasrc/controller/mini/network.lua
+++ b/modules/admin-mini/luasrc/controller/mini/network.lua
@@ -19,7 +19,7 @@ function index()
luci.i18n.loadc("admin-core")
local i18n = luci.i18n.translate
- entry({"mini", "network"}, alias("mini", "network", "index"), i18n("network"), 20)
+ entry({"mini", "network"}, alias("mini", "network", "index"), i18n("network"), 20).index = true
entry({"mini", "network", "index"}, cbi("mini/network"), i18n("general"), 1)
entry({"mini", "network", "wifi"}, cbi("mini/wifi"), i18n("wifi"), 10).i18n="wifi"
entry({"mini", "network", "dhcp"}, cbi("mini/dhcp"), "DHCP", 20)
diff --git a/modules/admin-mini/luasrc/controller/mini/system.lua b/modules/admin-mini/luasrc/controller/mini/system.lua
index ac6d64b32..9d0ef0c63 100644
--- a/modules/admin-mini/luasrc/controller/mini/system.lua
+++ b/modules/admin-mini/luasrc/controller/mini/system.lua
@@ -19,7 +19,7 @@ function index()
luci.i18n.loadc("admin-core")
local i18n = luci.i18n.translate
- entry({"mini", "system"}, alias("mini", "system", "index"), i18n("system"), 40)
+ entry({"mini", "system"}, alias("mini", "system", "index"), i18n("system"), 40).index = true
entry({"mini", "system", "index"}, cbi("mini/system"), i18n("general"), 1)
entry({"mini", "system", "passwd"}, form("mini/passwd"), i18n("a_s_changepw"), 10)
entry({"mini", "system", "backup"}, call("action_backup"), i18n("a_s_backup"), 80)