diff options
author | Ted Trask <ttrask01@yahoo.com> | 2010-02-16 08:55:13 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2010-02-16 08:55:13 +0000 |
commit | 10cfd9d946f2bf5eaea11ea98bd00054431579de (patch) | |
tree | 553b251084f6bc3d574202451104e4e0369f51b1 /app/template-html.lsp | |
parent | 96177033b815d813e1c7034597f08f0876047580 (diff) | |
download | acf-core-10cfd9d946f2bf5eaea11ea98bd00054431579de.tar.bz2 acf-core-10cfd9d946f2bf5eaea11ea98bd00054431579de.tar.xz |
Added new view variable wwwprefix to adjust web path, fix index.html redirect.
Diffstat (limited to 'app/template-html.lsp')
-rw-r--r-- | app/template-html.lsp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/template-html.lsp b/app/template-html.lsp index 0490b0b..5d42907 100644 --- a/app/template-html.lsp +++ b/app/template-html.lsp @@ -23,10 +23,10 @@ if viewlibrary and viewlibrary.dispatch_component then end %> <title><%= html.html_escape(hostname .. " - " .. pageinfo.controller .. "->" .. pageinfo.action) %></title> -<link rel="stylesheet" type="text/css" href="<%= html.html_escape(pageinfo.staticdir) %>/reset.css"> -<link rel="stylesheet" type="text/css" href="<%= html.html_escape(pageinfo.skin.."/"..posix.basename(pageinfo.skin)..".css") %>"> +<link rel="stylesheet" type="text/css" href="<%= html.html_escape(pageinfo.wwwprefix..pageinfo.staticdir) %>/reset.css"> +<link rel="stylesheet" type="text/css" href="<%= html.html_escape(pageinfo.wwwprefix..pageinfo.skin.."/"..posix.basename(pageinfo.skin)..".css") %>"> <!--[if IE]> -<link rel="stylesheet" type="text/css" href="<%= html.html_escape(pageinfo.skin.."/"..posix.basename(pageinfo.skin).."-ie.css") %>"> +<link rel="stylesheet" type="text/css" href="<%= html.html_escape(pageinfo.wwwprefix..pageinfo.skin.."/"..posix.basename(pageinfo.skin).."-ie.css") %>"> <![endif]--> </head> <body> @@ -52,7 +52,7 @@ end io.write ( string.format("\t\t\t\t\t\t<a href=\"%s\">Log in</a>\n", html.html_escape(ctlr) .. "logon" ) ) end %> | - <a href="/">home</a> | + <a href="<%= html.html_escape(pageinfo.wwwprefix) %>/">home</a> | <a href="http://www.alpinelinux.org">about</a> </p></span> <div class="tailer"></div> |