summaryrefslogtreecommitdiffstats
path: root/app/filedetails-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2008-07-08 13:18:27 +0000
committerTed Trask <ttrask01@yahoo.com>2008-07-08 13:18:27 +0000
commit0c011f565a24bffe9065f67fabf5db57b2be80d9 (patch)
tree9a3847695074eb182a97eda979375ac1fbbaa105 /app/filedetails-html.lsp
parent5ce937b4b015a329f3aec8dc1bf223fb59f2d599 (diff)
downloadacf-core-0c011f565a24bffe9065f67fabf5db57b2be80d9.tar.bz2
acf-core-0c011f565a24bffe9065f67fabf5db57b2be80d9.tar.xz
Added hidden filename field to common filedetails lsp. Modified acf_www-controller to allow views without actions.
git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1289 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'app/filedetails-html.lsp')
-rw-r--r--app/filedetails-html.lsp1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/filedetails-html.lsp b/app/filedetails-html.lsp
index 9562687..dac4444 100644
--- a/app/filedetails-html.lsp
+++ b/app/filedetails-html.lsp
@@ -20,6 +20,7 @@ displayitem(form.value.mtime)
<? 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="<?= page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action ?>" method="POST">
+<input type="hidden" name="filename" value="<?= form.value.filename.value ?>">
<textarea name="filecontent">
<?= form.value.filecontent.value ?>
</textarea>