summaryrefslogtreecommitdiffstats
path: root/app/template-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2008-05-14 18:07:45 +0000
committerTed Trask <ttrask01@yahoo.com>2008-05-14 18:07:45 +0000
commit309ecb7da28b78999d29eea937ebdd8eaa411d66 (patch)
tree782bf2d430de9753fae532034c9ec196ed06eae1 /app/template-html.lsp
parent9ae856d2dc847fbaa89ebb822b8c9c0abed88c17 (diff)
downloadacf-core-309ecb7da28b78999d29eea937ebdd8eaa411d66.tar.bz2
acf-core-309ecb7da28b78999d29eea937ebdd8eaa411d66.tar.xz
Change inheritance from worker->self->parent to self->worker->parent as found in wiki.
Move the permissions stuff out of mvc.dispatch into new acf_www.dispatch. Moved redirect from mvc to acf_www and made to parse path. Changed the order of parameters to template and passed all to the view. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1118 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'app/template-html.lsp')
-rw-r--r--app/template-html.lsp4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/template-html.lsp b/app/template-html.lsp
index 1c61f46..a60f2b5 100644
--- a/app/template-html.lsp
+++ b/app/template-html.lsp
@@ -1,4 +1,4 @@
-<? local pageinfo , viewtable, session, viewlibrary = ...
+<? local viewtable, viewlibrary, pageinfo, session = ...
html=require("html") ?>
Status: 200 OK
Content-Type: text/html
@@ -121,7 +121,7 @@ Content-Type: text/html
</div>
<? local func = haserl.loadfile(pageinfo.viewfile) ?>
- <? func (viewtable, viewlibrary) ?>
+ <? func (viewtable, viewlibrary, pageinfo, session) ?>
<div class="tailer">
</div>