diff options
Diffstat (limited to 'dnscache-expert-html.lsp')
l---------[-rw-r--r--] | dnscache-expert-html.lsp | 51 |
1 files changed, 1 insertions, 50 deletions
diff --git a/dnscache-expert-html.lsp b/dnscache-expert-html.lsp index c4ad955..207f324 100644..120000 --- a/dnscache-expert-html.lsp +++ b/dnscache-expert-html.lsp @@ -1,50 +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("status") -end ?> -<? --]] ?> - -<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"> -<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></DT><DD><input class="submit" type="submit" name="<?= form.option ?>" value="Save"></DD></DL> -</form> - -<? if viewlibrary and viewlibrary.dispatch_component then - viewlibrary.dispatch_component("startstop") -end ?> - -<? ---[[ 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>") ---]] -?> +../expert-html.lsp
\ No newline at end of file |