diff options
Diffstat (limited to 'openssl-editconfigfile-html.lsp')
-rw-r--r-- | openssl-editconfigfile-html.lsp | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/openssl-editconfigfile-html.lsp b/openssl-editconfigfile-html.lsp new file mode 100644 index 0000000..be6dae0 --- /dev/null +++ b/openssl-editconfigfile-html.lsp @@ -0,0 +1,29 @@ +<? local form, viewlibrary = ... ?> +<? require("viewfunctions") ?> + +<? --[[ DEBUG INFORMATION +io.write(html.cfe_unpack(form)) +--]] ?> + +<H1>Configuration</H1> +<H2>File Details</H2> +<DL> +<? +displayitem(form.value.filename) +displayitem(form.value.filesize) +displayitem(form.value.mtime) +?> +</DL> + +<H2>File Content</H1> +<? 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> + +<DL><DT>Save/Apply above settings</DT><DD><input class="submit" type="submit" name="<?= form.option ?>" value="Save"></DD></DL> +</form> + + |