diff options
-rw-r--r-- | ipsectools-details-html.lsp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipsectools-details-html.lsp b/ipsectools-details-html.lsp index 863effb..564f509 100644 --- a/ipsectools-details-html.lsp +++ b/ipsectools-details-html.lsp @@ -1,4 +1,4 @@ -<% local data, viewlibrary = ... +<% local data, viewlibrary, page_info = ... require("viewfunctions") %> @@ -12,7 +12,7 @@ if not data.value.show_isakmp or #data.value.show_isakmp.value == 0 then else for i,entry in pairs(data.value.show_isakmp.value) do if (type(entry) == "table") and (entry.Destination) and (entry.Destination.value) and (#entry.Destination.value > 0) then - io.write("<H3><IMG SRC='/skins/static/tango/16x16/status/network-") + io.write("<H3><IMG SRC='<%= html.html_escape(page_info.staticdir) %>/tango/16x16/status/network-") if (tonumber(entry.St.value) < 9) then io.write("error") else |