summaryrefslogtreecommitdiffstats
path: root/tinydns-view-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2010-02-16 09:03:50 +0000
committerTed Trask <ttrask01@yahoo.com>2010-02-16 09:03:50 +0000
commit004064c01f0c1f208e870b7679903c6934998fc3 (patch)
tree59a5e54414685674792f0e2ea4fe12eaa3d8c1a9 /tinydns-view-html.lsp
parent0411f64c1efbccae2856c4332190863e801723bc (diff)
downloadacf-tinydns-004064c01f0c1f208e870b7679903c6934998fc3.tar.bz2
acf-tinydns-004064c01f0c1f208e870b7679903c6934998fc3.tar.xz
Added wwwprefix to web path.
Diffstat (limited to 'tinydns-view-html.lsp')
-rw-r--r--tinydns-view-html.lsp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tinydns-view-html.lsp b/tinydns-view-html.lsp
index 217a2ae..b0cce74 100644
--- a/tinydns-view-html.lsp
+++ b/tinydns-view-html.lsp
@@ -1,8 +1,8 @@
-<% local view, viewlibrary = ...
+<% local view, viewlibrary, page_info = ...
require("viewfunctions")
%>
-<script type="text/javascript" src="/js/jquery-latest.js"></script>
+<script type="text/javascript" src="<%= html.html_escape(page_info.wwwprefix) %>/js/jquery-latest.js"></script>
<script type="text/javascript">
var last_phrase = "";
function filterPage(){
@@ -55,7 +55,7 @@ for i,loc in ipairs(view.value) do
if currentloc ~= "" then %>
</ul>
<% end %>
- <li><IMG SRC='<%= html.html_escape(page_info.staticdir) %>/tango/16x16/places/start-here.png' width='16' height='16' alt> <B><%= html.html_escape(loc[1]) %></B></li>
+ <li><IMG SRC='<%= html.html_escape(page_info.wwwprefix..page_info.staticdir) %>/tango/16x16/places/start-here.png' width='16' height='16' alt> <B><%= html.html_escape(loc[1]) %></B></li>
<ul STYLE='margin-left:30px';>
<% end
currentloc = loc[1] %>
@@ -110,7 +110,7 @@ for j,entry in ipairs(view.value) do
if entry.type ~= '%' then
indent = doListIndents(entry[1], indent) %>
<ul><li STYLE='margin-left:10px;' id='filename=<%= html.html_escape(entry.filename) %>;linenumber=<%= html.html_escape(entry.linenumber) %>'>
- <IMG SRC='<%= html.html_escape(page_info.staticdir) %>/tango/16x16/devices/computer.png' width='16' height='16'><%= html.html_escape(entry.label) %><BR>
+ <IMG SRC='<%= html.html_escape(page_info.wwwprefix..page_info.staticdir) %>/tango/16x16/devices/computer.png' width='16' height='16'><%= html.html_escape(entry.label) %><BR>
<pre><%= html.html_escape(entry.configline) %></pre>
<TABLE STYLE='margin-left:<%= html.html_escape(tostring(7-#indent)) %>0px;'>
<% for k=2,#entry do