diff options
Diffstat (limited to 'modules/admin-full/luasrc/view/admin_status')
-rw-r--r-- | modules/admin-full/luasrc/view/admin_status/index.htm | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/admin-full/luasrc/view/admin_status/index.htm b/modules/admin-full/luasrc/view/admin_status/index.htm index ea4ec3f5f..f6432ef6f 100644 --- a/modules/admin-full/luasrc/view/admin_status/index.htm +++ b/modules/admin-full/luasrc/view/admin_status/index.htm @@ -562,4 +562,19 @@ $Id$ </fieldset> <% end %> +<%- + require "luci.util" + require "nixio.fs" + + local plugins = nixio.fs.dir(luci.util.libpath() .. "/view/admin_status/index") + if plugins then + local inc + for inc in plugins do + if inc:match("%.htm$") then + include("admin_status/index/" .. inc:gsub("%.htm$", "")) + end + end + end +-%> + <%+footer%> |