summaryrefslogtreecommitdiffstats
path: root/tinydns-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2008-07-25 12:27:56 +0000
committerTed Trask <ttrask01@yahoo.com>2008-07-25 12:27:56 +0000
commit5f3e0f0ef47c94c39528ec3bf6dc96c281a9aeb6 (patch)
tree37de369df67cbea7cde0bc3cf12825a21c75febf /tinydns-html.lsp
parentda2aa81f7cf24ec58c78f781d13fb6dda0c18dd1 (diff)
downloadacf-tinydns-5f3e0f0ef47c94c39528ec3bf6dc96c281a9aeb6.tar.bz2
acf-tinydns-5f3e0f0ef47c94c39528ec3bf6dc96c281a9aeb6.tar.xz
Modified tinydns to remove dnsfiles from session and replace with calls to authenticator. Added in pages for managing tinydns permissions.
git-svn-id: svn://svn.alpinelinux.org/acf/tinydns/trunk@1318 ab2d0c66-481e-0410-8bed-d214d4d58bed
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)
+?>