diff options
author | Ted Trask <ttrask01@yahoo.com> | 2016-08-04 15:55:56 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2016-08-04 15:55:56 +0000 |
commit | a0c9b5cb07e4b691874e858527e36cb8c83c56d0 (patch) | |
tree | f198cd9f9ced2e66998aa1db6cbe1c265f03862b /app/template-html.lsp | |
parent | df0d2e0e18549e8fe348d08769c929340d75131e (diff) | |
download | acf-core-a0c9b5cb07e4b691874e858527e36cb8c83c56d0.tar.bz2 acf-core-a0c9b5cb07e4b691874e858527e36cb8c83c56d0.tar.xz |
Remove trailing whitespace
Diffstat (limited to 'app/template-html.lsp')
-rw-r--r-- | app/template-html.lsp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/app/template-html.lsp b/app/template-html.lsp index e784d08..7b75007 100644 --- a/app/template-html.lsp +++ b/app/template-html.lsp @@ -1,12 +1,12 @@ -<% 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 @@ -64,21 +64,21 @@ end <p class="links"> <% local ctlr = pageinfo.script .. "/acf-util/logon/" - + if session.userinfo and session.userinfo.userid then print("<a href=\""..html.html_escape(ctlr).."logoff\">Log off as '" .. html.html_escape(session.userinfo.userid) .. "'</a> |") else print("<a href=\""..html.html_escape(ctlr).."logon\">Log on</a> |" ) end %> - <a href="<%= html.html_escape(pageinfo.wwwprefix) %>/">home</a> | + <a href="<%= html.html_escape(pageinfo.wwwprefix) %>/">home</a> | <a href="http://www.alpinelinux.org">about</a> </p> </div> <!-- header --> <div id="main"> <div id="nav"> - <% + <% local class local tabs if (#session.menu.cats > 0) then @@ -136,6 +136,6 @@ end </div> <!-- page --> <% end --pageinfo.skinned %> - + </body> </html> |