summaryrefslogtreecommitdiffstats
path: root/app/template-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2008-05-15 13:51:21 +0000
committerTed Trask <ttrask01@yahoo.com>2008-05-15 13:51:21 +0000
commitc1c2252c53ffcb14b98443f8ee2c6da40551f160 (patch)
tree75512f0ade8b70dedf74b14760e33d09a78101e3 /app/template-html.lsp
parenteb779faf48d89baea5b3b9b4ce09cb09e9cd9cfe (diff)
downloadacf-core-c1c2252c53ffcb14b98443f8ee2c6da40551f160.tar.bz2
acf-core-c1c2252c53ffcb14b98443f8ee2c6da40551f160.tar.xz
Replaced references to ENV[SCRIPT_NAME] with self.conf.script.
Logon link no longer forced to be https. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1120 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'app/template-html.lsp')
-rw-r--r--app/template-html.lsp6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/template-html.lsp b/app/template-html.lsp
index 307807f..08ab9b4 100644
--- a/app/template-html.lsp
+++ b/app/template-html.lsp
@@ -13,7 +13,7 @@ Content-Type: text/html
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
-<?
+<?
local hostname = ""
if viewlibrary and viewlibrary.dispatch_component then
local result = viewlibrary.dispatch_component("alpine-baselayout/hostname/read", nil, true)
@@ -44,7 +44,7 @@ end
</div>
<span class="mute">
<p>
- <? local ctlr = pageinfo.appuri .. "/acf-util/logon/"
+ <? local ctlr = pageinfo.script .. "/acf-util/logon/"
if session.userinfo and session.userinfo.userid then
io.write ( string.format("\t\t\t\t\t\t<a href=\"%s\">Log out as '" .. session.userinfo.userid .. "'</a>\n", ctlr .. "logout" ) )
@@ -81,7 +81,7 @@ end
class=""
end
io.write (string.format("\t\t\t\t\t\t<li %s><a href=\"%s%s/%s/%s\">%s</a></li>\n",
- class,pageinfo.appuri,group.prefix, group.controller, group.tabs[1].action, group.name ))
+ class,pageinfo.script,group.prefix, group.controller, group.tabs[1].action, group.name ))
end
io.write ( "\t\t\t\t\t</ul>" )
end