summaryrefslogtreecommitdiff
path: root/httemplate/elements
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2016-09-08 11:05:26 -0700
committerMark Wells <mark@freeside.biz>2016-09-08 11:05:26 -0700
commit1768c2039b6ff3d68bd3b711621d82dcbf5eab75 (patch)
treed0eb9024f64415c49c94a97ffe5441c404696d4c /httemplate/elements
parent54ef6b82c54b5d4c6336ab9fe96aed56fc92963c (diff)
fix UI links and CSS in searches delivered by email, #72101
Diffstat (limited to 'httemplate/elements')
-rw-r--r--httemplate/elements/header-popup.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/httemplate/elements/header-popup.html b/httemplate/elements/header-popup.html
index 839a63676..327673bc6 100644
--- a/httemplate/elements/header-popup.html
+++ b/httemplate/elements/header-popup.html
@@ -38,7 +38,13 @@ Example:
<% $head |n %>
</HEAD>
<BODY <% $etc |n %>>
+% if ($m->notes('inline_stylesheet')) { # for email delivery
+ <style type="text/css">
+ <& /elements/freeside.css &>
+ </style>
+% } else {
<link href="<%$fsurl%>elements/freeside.css" type="text/css" rel="stylesheet">
+% }
% if ( $title || $title_noescape ) {
<FONT SIZE=6>
<CENTER><% encode_entities($title) || $title_noescape |n %></CENTER>