summaryrefslogtreecommitdiffstats
path: root/dnscache-editdomain-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'dnscache-editdomain-html.lsp')
-rw-r--r--dnscache-editdomain-html.lsp17
1 files changed, 17 insertions, 0 deletions
diff --git a/dnscache-editdomain-html.lsp b/dnscache-editdomain-html.lsp
new file mode 100644
index 0000000..34ba902
--- /dev/null
+++ b/dnscache-editdomain-html.lsp
@@ -0,0 +1,17 @@
+<? local form, viewlibrary = ...
+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>")
+--]]
+?>
+
+<H1><?= form.label ?></H1>
+<?
+ form.value.domain.contenteditable = false
+ local order = { "domain", "iplist" }
+ displayform(form, order)
+?>