diff options
author | Ted Trask <ttrask01@yahoo.com> | 2008-07-04 14:54:19 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2008-07-04 14:54:19 +0000 |
commit | a0f64cff3dfc675ed5ea641c10be72c842b693d5 (patch) | |
tree | d49c25941ade8d3463141fde095a077b48fc29e1 /lbu-expert-html.lsp | |
parent | e36290cc32c9d9a7b70e1ce09127517be7aadf9a (diff) | |
download | acf-alpine-conf-a0f64cff3dfc675ed5ea641c10be72c842b693d5.tar.bz2 acf-alpine-conf-a0f64cff3dfc675ed5ea641c10be72c842b693d5.tar.xz |
Modified lbu to use controllerfunctions, modelfunctions, and common lsp files. Moved basicstatus->status and status->listchanges.
git-svn-id: svn://svn.alpinelinux.org/acf/alpine-conf/trunk@1276 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'lbu-expert-html.lsp')
l---------[-rw-r--r--] | lbu-expert-html.lsp | 37 |
1 files changed, 1 insertions, 36 deletions
diff --git a/lbu-expert-html.lsp b/lbu-expert-html.lsp index 04dfd45..207f324 100644..120000 --- a/lbu-expert-html.lsp +++ b/lbu-expert-html.lsp @@ -1,36 +1 @@ -<? 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>") ---]] -?> - -<? if viewlibrary and viewlibrary.dispatch_component then - viewlibrary.dispatch_component("basicstatus") -end ?> - -<h1>Configuration</h1> -<H2>File Details</H2> -<DL> -<? -displayitem(form.value.filename) -displayitem(form.value.filesize) -displayitem(form.value.mtime) -?> -</DL> - -<H2>File Content</H2> -<? 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"> -<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 ?> - -<DL><DT><input class="submit" type="submit" name="<?= form.option ?>" value="<?= form.option ?>"></DT></DL> -</form> +../expert-html.lsp
\ No newline at end of file |