X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fmisc%2Femail-customers.html;h=0c90b07e7e5e2afa4c862d18f04a8da77d863571;hp=57f451fdc33aaafbe3e9ef32b9c47f448cce7b4f;hb=a5148c7aabd33464432f9355d7cddf12c2147054;hpb=823d03145596a92a347a0682c64ab1e00818696b diff --git a/httemplate/misc/email-customers.html b/httemplate/misc/email-customers.html index 57f451fdc..0c90b07e7 100644 --- a/httemplate/misc/email-customers.html +++ b/httemplate/misc/email-customers.html @@ -29,15 +29,14 @@ gets passed options 'conf' and 'search' (a reference to the unfrozen %search has should be used to set msgnum or from/subject/html_body cgi params - % if ($popup) { -<% include('/elements/header-popup.html', $title) %> +<& /elements/header-popup.html, $title &> % } else { -<% include('/elements/header.html', $title) %> +<& /elements/header.html, $title &> % } -
+ %# Mixing search params with from address, subject, etc. required special-case %# handling of those, risked name conflicts, and caused massive problems with @@ -67,7 +66,7 @@ should be used to set msgnum or from/subject/html_body cgi params % if ( $cgi->param('action') ) { - +
% if ( $msg_template ) { @@ -93,6 +92,7 @@ should be used to set msgnum or from/subject/html_body cgi params %> + @@ -104,10 +104,12 @@ should be used to set msgnum or from/subject/html_body cgi params % ) % ); + @@ -117,6 +119,19 @@ should be used to set msgnum or from/subject/html_body cgi params % if ( $cgi->param('action') eq 'preview' ) {
 
Message (HTML display): <% $html_body %>
 
Message (Text display): - - click to view + + (view) +