summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2010-01-22 09:49:52 +0000
committerTed Trask <ttrask01@yahoo.com>2010-01-22 09:49:52 +0000
commit7411c254caba1dd638af3a0dbc7f030729fd211b (patch)
treef817a3998302a91b01a8626cc6c24782976220ea
parent92ac7ff7eb529950b1be3cb7163b3f9bb86a2a13 (diff)
downloadacf-tinydns-7411c254caba1dd638af3a0dbc7f030729fd211b.tar.bz2
acf-tinydns-7411c254caba1dd638af3a0dbc7f030729fd211b.tar.xz
Updated for skin change in acf-core 0.10.0
-rw-r--r--tinydns-edit-html.lsp8
-rw-r--r--tinydns-view-html.lsp4
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