summaryrefslogtreecommitdiffstats
path: root/template-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2016-08-10 16:18:09 +0000
committerTed Trask <ttrask01@yahoo.com>2016-08-10 16:18:09 +0000
commitb506923bb7f4d99d9da33515f83a3a07e6ba4130 (patch)
tree186450fb92a0796e6dbb8486639ab455f9299680 /template-html.lsp
parent4cd53810dd3d701470f8f2409ad887ce29adcdb3 (diff)
downloadacf-skins-jqmobile-master.tar.bz2
acf-skins-jqmobile-master.tar.xz
Remove trailing whitespaceHEADmaster
Diffstat (limited to 'template-html.lsp')
-rw-r--r--template-html.lsp10
1 files changed, 5 insertions, 5 deletions
diff --git a/template-html.lsp b/template-html.lsp
index c3f9e27..79686bb 100644
--- a/template-html.lsp
+++ b/template-html.lsp
@@ -1,11 +1,11 @@
-<% local viewtable, viewlibrary, pageinfo, session = ...
+<% local viewtable, viewlibrary, pageinfo, session = ...
html=require("acf.html")
posix = require("posix")
%>
Status: 200 OK
Content-Type: text/html
-<% if (session.id) then
- io.write( html.cookie.set("sessionid", session.id) )
+<% if (session.id) then
+ io.write( html.cookie.set("sessionid", session.id) )
else
io.write (html.cookie.unset("sessionid"))
end
@@ -107,13 +107,13 @@ end
</div><!-- page -->
-<%
+<%
if pageinfo.viewfile then
fs=require("acf.fs")
local sf = posix.dirname(pageinfo.viewfile) .. '/' .. pageinfo.controller .. '-' .. pageinfo.action ..'-popups-html.lsp'
if fs.is_file(sf) then
%><!-- multipage -->
-<%
+<%
local func = haserl.loadfile(sf)
func (viewtable, viewlibrary, pageinfo, session)
%><!-- /multipage -->