diff options
author | Steven Barth <steven@midlink.org> | 2008-10-09 20:28:07 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-10-09 20:28:07 +0000 |
commit | 8815b6a7dd24a481606db03c5980bc310709a103 (patch) | |
tree | 0f9f9ff74722ab4210b84893757d072be5231766 /applications/luci-olsr/luasrc/controller/olsr.lua | |
parent | dc494c838c15ef59a72927b9cf6f18878d06bd69 (diff) |
OXYGEN #1: Added index-marks
Diffstat (limited to 'applications/luci-olsr/luasrc/controller/olsr.lua')
-rw-r--r-- | applications/luci-olsr/luasrc/controller/olsr.lua | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/applications/luci-olsr/luasrc/controller/olsr.lua b/applications/luci-olsr/luasrc/controller/olsr.lua index c80a75cc1e..97e5061b9b 100644 --- a/applications/luci-olsr/luasrc/controller/olsr.lua +++ b/applications/luci-olsr/luasrc/controller/olsr.lua @@ -12,6 +12,7 @@ function index() page.target = call("action_index") page.title = "OLSR" page.i18n = "olsr" + page.subindex = true local page = node("admin", "status", "olsr", "routes") page.target = call("action_routes") @@ -33,15 +34,17 @@ function index() page.title = "MID" page.order = 50 - entry( + local ol = entry( {"admin", "services", "olsrd"}, cbi("olsr/olsrd"), "OLSR" - ).i18n = "olsr" + ) + ol.i18n = "olsr" + ol.subindex = true entry( {"admin", "services", "olsrd", "hna"}, cbi("olsr/olsrdhna"), "HNA Announcements" - ).i18n = "olsr" + ) oplg = entry( {"admin", "services", "olsrd", "plugins"}, @@ -49,6 +52,7 @@ function index() ) oplg.i18n = "olsr" oplg.leaf = true + oplg.subindex = true local uci = require("luci.model.uci").cursor() uci:foreach("olsrd", "LoadPlugin", |