summaryrefslogtreecommitdiffstats
path: root/tinydns-listfiles-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2008-07-08 13:27:06 +0000
committerTed Trask <ttrask01@yahoo.com>2008-07-08 13:27:06 +0000
commitd6eaceb7368639a4d634b06b2e1f09498c81e1e4 (patch)
treea8b6c9286c95eeb331620b83842a9e186d90dd70 /tinydns-listfiles-html.lsp
parent450023d50615816c7db2d4abfaface18132a1c47 (diff)
downloadacf-tinydns-d6eaceb7368639a4d634b06b2e1f09498c81e1e4.tar.bz2
acf-tinydns-d6eaceb7368639a4d634b06b2e1f09498c81e1e4.tar.xz
Modified tinydns to use controllerfunctions, modelfunctions, common lsp files, and new view without action functionality.
git-svn-id: svn://svn.alpinelinux.org/acf/tinydns/trunk@1290 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'tinydns-listfiles-html.lsp')
-rw-r--r--tinydns-listfiles-html.lsp8
1 files changed, 5 insertions, 3 deletions
diff --git a/tinydns-listfiles-html.lsp b/tinydns-listfiles-html.lsp
index c2407e2..1b53187 100644
--- a/tinydns-listfiles-html.lsp
+++ b/tinydns-listfiles-html.lsp
@@ -1,4 +1,4 @@
-<? local form, viewlibrary = ...
+<? local form, viewlibrary, page_info, session = ...
require("viewfunctions")
?>
<?
@@ -9,7 +9,9 @@ io.write("</span>")
--]]
?>
-<h1>CONFIGURATION</h1>
+<? displaycommandresults({"delete"}, session) ?>
+
+<h1>Configuration</h1>
<h2>Edit/View existing Domains</h2>
<TABLE>
<TR style="background:#eee;font-weight:bold;">
@@ -24,7 +26,7 @@ io.write("</span>")
<? io.write(html.link{value = "delete?filename=" .. file.value.filename.value, label="Delete " }) ?>
<? io.write(html.link{value = "view?filename=" .. file.value.filename.value, label="View " }) ?>
<? io.write(html.link{value = "edit?filename=" .. file.value.filename.value, label="Edit " }) ?>
- <? io.write(html.link{value = "expert?filename=" .. file.value.filename.value, label="Expert " }) ?>
+ <? io.write(html.link{value = "editfile?filename=" .. file.value.filename.value, label="Expert " }) ?>
</TD>
<TD style="padding-right:20px;white-space:nowrap;text-align:right;"><?= file.value.filesize.value ?></TD>
<TD style="padding-right:20px;white-space:nowrap;"><?= file.value.mtime.value ?></TD>