summaryrefslogtreecommitdiff
path: root/httemplate/elements
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2016-09-08 11:26:12 -0700
committerMark Wells <mark@freeside.biz>2016-09-08 11:31:24 -0700
commitf2bc3af56683f64e44fbbb97b543e6d58e99ce28 (patch)
treeb64e5703809d64226f8d7a84447d76c5cd1aba3a /httemplate/elements
parent9cb01b1aed97bcbe897e779dc268800a2b1538ae (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 04709ce53..906b1ee51 100644
--- a/httemplate/elements/header-popup.html
+++ b/httemplate/elements/header-popup.html
@@ -37,7 +37,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>