diff options
author | Ted Trask <ttrask01@yahoo.com> | 2008-07-02 20:24:35 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2008-07-02 20:24:35 +0000 |
commit | 5b1f815f835e543fe17d63993bf0d87b68d3f07a (patch) | |
tree | edc148811ac57e55b604c1f186b76f09466032b3 /app/filedetails-html.lsp | |
parent | bc8c34d81a8e90a9d9de22cb313a8738c86bb15c (diff) | |
download | acf-core-5b1f815f835e543fe17d63993bf0d87b68d3f07a.tar.bz2 acf-core-5b1f815f835e543fe17d63993bf0d87b68d3f07a.tar.xz |
Changed logfiles to use controllerfunctions and standard html-lsp files.
git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1270 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'app/filedetails-html.lsp')
-rw-r--r-- | app/filedetails-html.lsp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/filedetails-html.lsp b/app/filedetails-html.lsp index 34c8803..9562687 100644 --- a/app/filedetails-html.lsp +++ b/app/filedetails-html.lsp @@ -1,8 +1,12 @@ <? local form, viewlibrary, page_info = ... ?> <? require("viewfunctions") ?> +<? if form.type == "form" then ?> <H1>Configuration</H1> <H2>Expert Configuration</H2> +<? else ?> +<H1>View File</H1> +<? end ?> <H3>File Details</H3> <DL> <? @@ -21,5 +25,7 @@ displayitem(form.value.mtime) </textarea> <? if form.value.filecontent.errtxt then ?><P CLASS='error'><?= string.gsub(form.value.filecontent.errtxt, "\n", "<BR>") ?></P><? end ?> +<? if form.type == "form" then ?> <DL><DT></DT><DD><input class="submit" type="submit" name="<?= form.option ?>" value="<?= form.option ?>"></DD></DL> +<? end ?> </form> |