summaryrefslogtreecommitdiffstats
path: root/tinydns-listfiles-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2009-11-10 18:02:36 +0000
committerTed Trask <ttrask01@yahoo.com>2009-11-10 18:02:36 +0000
commit9e62c361c0fd51809a6fefdf5772768147b310a7 (patch)
tree78a6394a7c81ce5babcf66f431f1c448436d0620 /tinydns-listfiles-html.lsp
parentc2e72718bc52cccb6377bfc44db425e7dc9b8b41 (diff)
downloadacf-tinydns-9e62c361c0fd51809a6fefdf5772768147b310a7.tar.bz2
acf-tinydns-9e62c361c0fd51809a6fefdf5772768147b310a7.tar.xz
Added support for SRV and NAPTR records, some UI cleanup.
Diffstat (limited to 'tinydns-listfiles-html.lsp')
-rw-r--r--tinydns-listfiles-html.lsp11
1 files changed, 4 insertions, 7 deletions
diff --git a/tinydns-listfiles-html.lsp b/tinydns-listfiles-html.lsp
index 14f8419..8cf7656 100644
--- a/tinydns-listfiles-html.lsp
+++ b/tinydns-listfiles-html.lsp
@@ -1,13 +1,6 @@
<% local form, viewlibrary, page_info, session = ...
require("viewfunctions")
%>
-<%
---[[ DEBUG INFORMATION
-io.write("<H1>DEBUGGING</H1><span style='color:red'><H2>DEBUG INFO: CFE</H2>")
-io.write(html.cfe_unpack(form))
-io.write("</span>")
---]]
-%>
<% displaycommandresults({"delete", "edit", "editfile"}, session) %>
<% displaycommandresults({"newfile"}, session, true) %>
@@ -45,3 +38,7 @@ io.write("</span>")
newfileform.action = page_info.script .. page_info.prefix .. page_info.controller .. "/newfile"
displayform(newfileform)
end %>
+
+<% if viewlibrary and viewlibrary.dispatch_component and session.permissions[page_info.controller].startstop then
+ viewlibrary.dispatch_component("startstop")
+end %>