summaryrefslogtreecommitdiffstats
path: root/tcpproxy-smtpstatus-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'tcpproxy-smtpstatus-html.lsp')
-rw-r--r--tcpproxy-smtpstatus-html.lsp5
1 files changed, 4 insertions, 1 deletions
diff --git a/tcpproxy-smtpstatus-html.lsp b/tcpproxy-smtpstatus-html.lsp
index da66729..b0e4060 100644
--- a/tcpproxy-smtpstatus-html.lsp
+++ b/tcpproxy-smtpstatus-html.lsp
@@ -10,7 +10,10 @@ require("htmlviewfunctions")
<% htmlviewfunctions.displayitem(view.value.version)
if view.value.version and view.value.version.errtxt and viewlibrary.check_permission("apk-tools/apk/install") then
%>
- <a href="<%= html.html_escape(page_info.script .. "/apk-tools/apk/install?submit=true&package="..view.value.version.name) %>">Install</a>
+ <DT>Install package</DT>
+ <DD><form action="<%= html.html_escape(page_info.script .. "/apk-tools/apk/install") %>" method="POST">
+ <input type='hidden' name='package' value='<%= html.html_escape(view.value.version.name) %>'>
+ <input class='submit' type='submit' name='submit' value='Install'></form></DD>
<% end %>
</DL>