summaryrefslogtreecommitdiffstats
path: root/tinydns-view-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2008-10-21 17:23:10 +0000
committerTed Trask <ttrask01@yahoo.com>2008-10-21 17:23:10 +0000
commit83f91021bea9203fa8fe0877846a299c296df97d (patch)
tree725c9e70a7b69da2ea655ebb4df511288286db98 /tinydns-view-html.lsp
parent5484e1fff4c4a8c9c2ae557a5c322f50299aae60 (diff)
downloadacf-tinydns-83f91021bea9203fa8fe0877846a299c296df97d.tar.bz2
acf-tinydns-83f91021bea9203fa8fe0877846a299c296df97d.tar.xz
Modified TinyDNS to include more intelligence. Changed listfiles and newfile to not display / require directory. Made edit function in controller to allow control independent from expert. Modified edit to limit entries to the domain indicated by the file name.
git-svn-id: svn://svn.alpinelinux.org/acf/tinydns/trunk@1557 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'tinydns-view-html.lsp')
-rw-r--r--tinydns-view-html.lsp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tinydns-view-html.lsp b/tinydns-view-html.lsp
index e851569..b163ce5 100644
--- a/tinydns-view-html.lsp
+++ b/tinydns-view-html.lsp
@@ -51,7 +51,7 @@ io.write("</span>")
%>
<H1>DNS Entries
-<% if view.filename then io.write(" for "..view.filename) end %>
+<% if view.filename then io.write(" for "..string.gsub(view.filename, "^.*/", "")) end %>
</H1>
<H2>Locations</H2>
<DL id="locations">