summaryrefslogtreecommitdiffstats
path: root/shorewall-listfiles-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'shorewall-listfiles-html.lsp')
-rw-r--r--shorewall-listfiles-html.lsp4
1 files changed, 2 insertions, 2 deletions
diff --git a/shorewall-listfiles-html.lsp b/shorewall-listfiles-html.lsp
index df002b2..031839c 100644
--- a/shorewall-listfiles-html.lsp
+++ b/shorewall-listfiles-html.lsp
@@ -9,7 +9,7 @@ io.write("</span>")
--]]
%>
-<% displaycommandresults({"check"}, session) %>
+<% displaycommandresults({"edit", "check"}, session) %>
<% if viewlibrary and viewlibrary.dispatch_component then
viewlibrary.dispatch_component("status")
@@ -27,7 +27,7 @@ end %>
<% for i,file in ipairs(data.value) do %>
<TR>
- <TD style="padding-right:20px;white-space:nowrap;"><%= html.link{value = "edit?filename=" .. file.filename, label=file.filename} %></TD>
+ <TD style="padding-right:20px;white-space:nowrap;"><%= html.link{value = "edit?filename=" .. file.filename.."&redir="..page_info.orig_action, label=file.filename} %></TD>
<TD style="padding-right:20px;white-space:nowrap;"><%= file.filesize %></TD>
<TD style="white-space:nowrap;" width="90%"><%= file.mtime %></TD>
</TR>