summaryrefslogtreecommitdiffhomepage
path: root/applications
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-06-09 08:48:10 +0000
committerSteven Barth <steven@midlink.org>2008-06-09 08:48:10 +0000
commit2bf012a40a7a6d0d35b5d61269fd1bafcdf527d6 (patch)
tree66983500186af71eb57ad2af81f059de567c5846 /applications
parent64806f32bea453b9a6fc5c4cf4c4b751a749e369 (diff)
* themes/fledermaus: Register on install
* applications/luci-statistics: Fixed wrong paths in templates
Diffstat (limited to 'applications')
-rw-r--r--applications/luci-statistics/luasrc/view/admin_statistics/networkplugins.htm2
-rw-r--r--applications/luci-statistics/luasrc/view/admin_statistics/outputplugins.htm2
-rw-r--r--applications/luci-statistics/luasrc/view/admin_statistics/systemplugins.htm2
3 files changed, 3 insertions, 3 deletions
diff --git a/applications/luci-statistics/luasrc/view/admin_statistics/networkplugins.htm b/applications/luci-statistics/luasrc/view/admin_statistics/networkplugins.htm
index e88ca7f58a..c211a39514 100644
--- a/applications/luci-statistics/luasrc/view/admin_statistics/networkplugins.htm
+++ b/applications/luci-statistics/luasrc/view/admin_statistics/networkplugins.htm
@@ -9,7 +9,7 @@ about open tcp connections, interface traffic, iptables rules etc.%></p>
<ul>
<% for plugin, desc in pairs(plugins) do %>
<% if luci.fs.isfile("/usr/lib/collectd/" .. plugin .. ".so") then %>
- <li><a href="/cgi-bin/luci/admin/statistics/network/<%=plugin%>"><%=desc%></a></li>
+ <li><a href="<%=controller%>/admin/statistics/collectd/network/<%=plugin%>"><%=desc%></a></li>
<% end %>
<% end %>
</ul>
diff --git a/applications/luci-statistics/luasrc/view/admin_statistics/outputplugins.htm b/applications/luci-statistics/luasrc/view/admin_statistics/outputplugins.htm
index c7945f16e4..c2f36f2b86 100644
--- a/applications/luci-statistics/luasrc/view/admin_statistics/outputplugins.htm
+++ b/applications/luci-statistics/luasrc/view/admin_statistics/outputplugins.htm
@@ -10,7 +10,7 @@ and to transmit the data over the network to other collectd instances.%></p>
<ul>
<% for plugin, desc in pairs(plugins) do %>
<% if luci.fs.isfile("/usr/lib/collectd/" .. plugin .. ".so") then %>
- <li><a href="/cgi-bin/luci/admin/statistics/output/<%=plugin%>"><%=desc%></a></li>
+ <li><a href="<%=controller%>/admin/statistics/collectd/output/<%=plugin%>"><%=desc%></a></li>
<% end %>
<% end %>
</ul>
diff --git a/applications/luci-statistics/luasrc/view/admin_statistics/systemplugins.htm b/applications/luci-statistics/luasrc/view/admin_statistics/systemplugins.htm
index 8c1f714e68..dcedea6b89 100644
--- a/applications/luci-statistics/luasrc/view/admin_statistics/systemplugins.htm
+++ b/applications/luci-statistics/luasrc/view/admin_statistics/systemplugins.htm
@@ -6,7 +6,7 @@
<ul>
<% for plugin, desc in pairs(plugins) do %>
<% if luci.fs.isfile("/usr/lib/collectd/" .. plugin .. ".so") then %>
- <li><a href="/cgi-bin/luci/admin/statistics/system/<%=plugin%>"><%=desc%></a></li>
+ <li><a href="<%=controller%>/admin/statistics/collectd/system/<%=plugin%>"><%=desc%></a></li>
<% end %>
<% end %>
</ul>