summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full/luasrc/view
diff options
context:
space:
mode:
Diffstat (limited to 'modules/admin-full/luasrc/view')
-rw-r--r--modules/admin-full/luasrc/view/admin_status/index.htm15
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 ea4ec3f5f0..f6432ef6f9 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%>