summaryrefslogtreecommitdiffstats
path: root/tinydns-newfile-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'tinydns-newfile-html.lsp')
-rw-r--r--tinydns-newfile-html.lsp17
1 files changed, 17 insertions, 0 deletions
diff --git a/tinydns-newfile-html.lsp b/tinydns-newfile-html.lsp
new file mode 100644
index 0000000..f727833
--- /dev/null
+++ b/tinydns-newfile-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>CONFIGURATION</h1>
+<h2><?= form.label ?></h2>
+<?
+ form.action = "newfile"
+ displayform(form)
+?>