diff options
Diffstat (limited to 'openssl-editconfigfile-html.lsp')
-rw-r--r-- | openssl-editconfigfile-html.lsp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/openssl-editconfigfile-html.lsp b/openssl-editconfigfile-html.lsp index 890909c..46f820b 100644 --- a/openssl-editconfigfile-html.lsp +++ b/openssl-editconfigfile-html.lsp @@ -18,12 +18,13 @@ displayitem(form.value.mtime) <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"> +<form action="<?= page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.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> +<DL><DT></DT><DD><input class="submit" type="submit" name="<?= form.option ?>" value="<?= form.option ?>"></DD></DL> </form> <? if viewlibrary and viewlibrary.dispatch_component and session.permissions.openssl.checkenvironment then |