diff options
author | Ted Trask <ttrask01@yahoo.com> | 2008-07-08 13:27:06 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2008-07-08 13:27:06 +0000 |
commit | d6eaceb7368639a4d634b06b2e1f09498c81e1e4 (patch) | |
tree | a8b6c9286c95eeb331620b83842a9e186d90dd70 /tinydns-expert-html.lsp | |
parent | 450023d50615816c7db2d4abfaface18132a1c47 (diff) | |
download | acf-tinydns-d6eaceb7368639a4d634b06b2e1f09498c81e1e4.tar.bz2 acf-tinydns-d6eaceb7368639a4d634b06b2e1f09498c81e1e4.tar.xz |
Modified tinydns to use controllerfunctions, modelfunctions, common lsp files, and new view without action functionality.
git-svn-id: svn://svn.alpinelinux.org/acf/tinydns/trunk@1290 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'tinydns-expert-html.lsp')
-rw-r--r-- | tinydns-expert-html.lsp | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/tinydns-expert-html.lsp b/tinydns-expert-html.lsp deleted file mode 100644 index 93887dd..0000000 --- a/tinydns-expert-html.lsp +++ /dev/null @@ -1,42 +0,0 @@ -<? 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>EXPERT CONFIGURATION</H2> -<H3>FILE DETAILS</H3> -<DL> -<? -displayitem(form.value.filename) -displayitem(form.value.filesize) -displayitem(form.value.mtime) -?> -</DL> - -<H3>FILE CONTENT</H3> -<? if form.descr then ?><P CLASS='descr'><?= string.gsub(form.descr, "\n", "<BR>") ?></P><? end ?> -<? if form.errtxt then ?><P CLASS='error'><?= string.gsub(form.errtxt, "\n", "<BR>") ?></P><? end ?> -<form action="" method="POST"> -<input type="hidden" name="filename" value="<?= form.value.filename.value ?>"> -<textarea name="filecontent"> -<?= form.value.filecontent.value ?> -</textarea> -<? if form.value.filecontent.errtxt then ?><P CLASS='error'><?= string.gsub(form.value.filecontent.errtxt, "\n", "<BR>") ?></P><? end ?> - -<H2>SAVE AND APPLY ABOVE SETTINGS</H2> -<DL><DT>Save/Apply above settings</DT><DD><input class="submit" type="submit" name="<?= form.option ?>" value="Save"></DD></DL> -</form> - -<? ---[[ 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>") ---]] -?> |