summaryrefslogtreecommitdiffstats
path: root/tinydns-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'tinydns-html.lsp')
-rw-r--r--tinydns-html.lsp12
1 files changed, 12 insertions, 0 deletions
diff --git a/tinydns-html.lsp b/tinydns-html.lsp
new file mode 100644
index 0000000..383906a
--- /dev/null
+++ b/tinydns-html.lsp
@@ -0,0 +1,12 @@
+<? local form, viewlibrary, page_info = ...
+require("viewfunctions")
+?>
+
+<H1><?= form.label ?></H1>
+<?
+ form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action
+ if form.value.userid then form.value.userid.contenteditable = false end
+ if form.value.role then form.value.role.contenteditable = false end
+ local order = { "userid", "role" }
+ displayform(form, order)
+?>