Commit c094ecf9 authored by Ted Trask's avatar Ted Trask

Added wwwprefix to web path and fixed typo.

parent 245bd420
......@@ -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='<%= html.html_escape(page_info.staticdir) %>/tango/16x16/status/network-")
io.write("<H3><IMG SRC='"..html.html_escape(page_info.wwwprefix..page_info.staticdir).."/tango/16x16/status/network-")
if (tonumber(entry.St.value) < 9) then
io.write("error")
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment