summaryrefslogtreecommitdiffstats
path: root/app/template-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2012-10-02 14:51:00 +0000
committerTed Trask <ttrask01@yahoo.com>2012-10-02 14:51:00 +0000
commit2694aa6d354fa7190a321c6bdb30bafa8fd6152e (patch)
treedbb18baccd6eb48ad6414f0312c546aaec8f86cc /app/template-html.lsp
parent16570fbcfcc216492e64e1659b0e3f63b44d94ac (diff)
downloadacf-core-2694aa6d354fa7190a321c6bdb30bafa8fd6152e.tar.bz2
acf-core-2694aa6d354fa7190a321c6bdb30bafa8fd6152e.tar.xz
Added clientdata.skinned option to turn off skins in html template
Diffstat (limited to 'app/template-html.lsp')
-rw-r--r--app/template-html.lsp6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/template-html.lsp b/app/template-html.lsp
index ae051d2..4ae8924 100644
--- a/app/template-html.lsp
+++ b/app/template-html.lsp
@@ -13,6 +13,7 @@ Content-Type: text/html
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<% if pageinfo.skinned ~= "false" then %>
<%
local hostname = ""
if viewlibrary and viewlibrary.dispatch_component then
@@ -33,9 +34,11 @@ end
$(function(){
$(":input:not(:submit):enabled:not([readonly]):first").focus();
});</script>
+<% end -- pageinfo.skinned %>
</head>
<body>
+<% if pageinfo.skinned ~= "false" then %>
<div id="page">
<div id="header">
<div class="leader">
@@ -135,9 +138,11 @@ end
<div id="content">
<div class="leader">
</div>
+<% end --pageinfo.skinned %>
<% pageinfo.viewfunc(viewtable, viewlibrary, pageinfo, session) %>
+<% if pageinfo.skinned ~= "false" then %>
<div class="tailer">
</div>
</div> <!-- content -->
@@ -152,6 +157,7 @@ end
</div>
</div> <!-- footer -->
</div> <!-- page -->
+<% end --pageinfo.skinned %>
</body>
</html>