summaryrefslogtreecommitdiffstats
path: root/qos-details-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2012-07-30 15:06:58 +0000
committerTed Trask <ttrask01@yahoo.com>2012-07-30 15:06:58 +0000
commit330fdbd0d1ed33128d11ed22a83b8a4f720afd48 (patch)
tree8358463ddf6fa1ebae09c7d71a3c7853409fad05 /qos-details-html.lsp
parentb332ed222b6b1be1257d297086e2ac4ddaca8ac7 (diff)
downloadacf-iproute2-qos-330fdbd0d1ed33128d11ed22a83b8a4f720afd48.tar.bz2
acf-iproute2-qos-330fdbd0d1ed33128d11ed22a83b8a4f720afd48.tar.xz
Fixed startstop and changed to startstopinterface, removed redirect_to_referrer, fixed calls to interfacescontroller, removed references to APP
Diffstat (limited to 'qos-details-html.lsp')
-rw-r--r--qos-details-html.lsp8
1 files changed, 4 insertions, 4 deletions
diff --git a/qos-details-html.lsp b/qos-details-html.lsp
index e9b2f01..ba5a631 100644
--- a/qos-details-html.lsp
+++ b/qos-details-html.lsp
@@ -2,7 +2,7 @@
require("htmlviewfunctions")
%>
-<% htmlviewfunctions.displaycommandresults({"enable","config","expert","startstop"}, session) %>
+<% htmlviewfunctions.displaycommandresults({"enable","config","expert","startstopinterface"}, session) %>
<% viewlibrary.dispatch_component("status") %>
@@ -19,16 +19,16 @@ require("htmlviewfunctions")
<TD style="padding-right:20px;white-space:nowrap;">
<% if intf.enabled then %>
<% io.write(html.link{value = "config?DEV="..intf.interface.."&redir="..page_info.orig_action, label="Edit " }) %>
- <% io.write(html.link{value = "expert?interface="..intf.interface.."&redir="..page_info.orig_action, label="Expert " }) %>
+ <% io.write(html.link{value = "expert?filename="..intf.filename.."&redir="..page_info.orig_action, label="Expert " }) %>
<% io.write(html.link{value = page_info.script .. "/alpine-baselayout/rc/edit?servicename="..intf.init.."&redir=".. page_info.orig_action, label="Autostart " }) %>
<% else %>
- <% io.write(html.link{value = "enable?interface="..intf.interface.."&redir="..page_info.orig_action, label="Enable " }) %>
+ <% io.write(html.link{value = "enable?submit=true&interface="..intf.interface, label="Enable " }) %>
<% end %>
</TD>
<TD style="padding-right:20px;white-space:nowrap;"><%= html.html_escape(intf.interface) %></TD>
<TD style="white-space:nowrap;" width="90%"><%= html.html_escape(intf.status) %></TD>
<% if intf.enabled then %>
- <TD><form action="<%= html.html_escape(page_info.script .. page_info.prefix .. page_info.controller .. "/startstop") %>" method="POST">
+ <TD><form action="<%= html.html_escape(page_info.script .. page_info.prefix .. page_info.controller .. "/startstopinterface") %>" method="POST">
<input type="hidden" name="init" value="<%= intf.init %>">
<input class="submit" type="submit" name="submit" value="Start">
<input class="submit" type="submit" name="submit" value="Stop">