diff options
-rw-r--r-- | tinydns-edit-html.lsp | 8 | ||||
-rw-r--r-- | tinydns-view-html.lsp | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/tinydns-edit-html.lsp b/tinydns-edit-html.lsp index 19fdf25..ace84b2 100644 --- a/tinydns-edit-html.lsp +++ b/tinydns-edit-html.lsp @@ -5,12 +5,12 @@ <script type="text/javascript" src="/js/jquery-latest.js"></script> <script type="text/javascript"> var editEntry = '<td> \ - <a href="javascript:;"><img src="/skins/static/tango/16x16/actions/list-add.png" width="16" height="16" title="Insert record"></a> \ - <a href="javascript:;"><img src="/skins/static/tango/16x16/actions/list-remove.png" width="16" height="16" title="Remove record"></a> \ - <a href="javascript:;"><img src="/skins/static/tango/16x16/actions/document-properties.png" width="16" height="16" title="Edit record"></a> \ + <a href="javascript:;"><img src="<%= html.html_escape(page_info.staticdir) %>/tango/16x16/actions/list-add.png" width="16" height="16" title="Insert record"></a> \ + <a href="javascript:;"><img src="<%= html.html_escape(page_info.staticdir) %>/tango/16x16/actions/list-remove.png" width="16" height="16" title="Remove record"></a> \ + <a href="javascript:;"><img src="<%= html.html_escape(page_info.staticdir) %>/tango/16x16/actions/document-properties.png" width="16" height="16" title="Edit record"></a> \ </td>'; var addEntry = '<tr><td> \ - <a href="javascript:;"><img src="/skins/static/tango/16x16/actions/list-add.png" width="16" height="16" title="Insert record"></a> \ + <a href="javascript:;"><img src="<%= html.html_escape(page_info.staticdir) %>/tango/16x16/actions/list-add.png" width="16" height="16" title="Insert record"></a> \ </td></tr>'; function Entry(entryType,descr,num,descr0,descr1,descr2,descr3,descr4,descr5,descr6,descr7,descr8,descr9,descr10){ diff --git a/tinydns-view-html.lsp b/tinydns-view-html.lsp index 322abcb..217a2ae 100644 --- a/tinydns-view-html.lsp +++ b/tinydns-view-html.lsp @@ -55,7 +55,7 @@ for i,loc in ipairs(view.value) do if currentloc ~= "" then %> </ul> <% end %> - <li><IMG SRC='/skins/static/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.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='/skins/static/tango/16x16/devices/computer.png' width='16' height='16'><%= html.html_escape(entry.label) %><BR> + <IMG SRC='<%= html.html_escape(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 |