discourse-legacysite-perl/site/glist/templates/gossamer/mli_include_preview.html
2024-06-17 22:24:05 +10:00

87 lines
2.8 KiB
HTML

<body>
<%include include_style.txt%>
<script src="<%image_url%>/GList.js"></script>
<%loop results%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td>
<table width="99%" border="0" cellspacing="1" cellpadding="1" align=center>
<tr class=body>
<td class=body colspan=2><b>Mailing ID: <%mli_id%></b></td>
</tr>
<%if mli_done%>
<tr class=body>
<td class=body colspan=2>Mailing Completed: <%GList::HTML::date_get('mli_done','%dddd%, %mmmm% %dd%, %yyyy%, %hh%:%mm%:%ss%')%></td>
</tr>
<%endif%>
<tr class=body>
<td class=body colspan=2>&nbsp;</td>
</tr>
<tr class=body>
<td class=body width=20%>To:</td>
<td>
<a href="glist.cgi?do=mli_recipients&eml_mailing_id_fk=<%mli_id%>"><%total%> recipient<%if total > 1%>s<%endif%></a>
</td>
</tr>
<tr class=body>
<td class=body>From:</td>
<td><%if mli_name%>"<%mli_name%>" < <%mli_from%> ><%else%><%mli_from%><%endif%></td>
</tr>
<tr class=body>
<td class=body>Reply To:</td>
<td class=body><%mli_reply_to%></td>
</tr>
<tr class=body>
<td class=body>Return-path:</td>
<td class=body><%mli_bounce_email%></td>
</tr>
<%if mli_charset%>
<tr class=body>
<td class=body>Charset:</td>
<td><%mli_charset%></td>
</tr>
<%endif%>
<tr class=body>
<td class=body>Subject:</td>
<td><%mli_subject%></td>
</tr>
<%GList::HTML::generate_attachments('mli_id')%>
<%if attachments%>
<tr class=body>
<td class=body valign=top>Attachments:</td>
<td>
<table border="0" cellspacing="2" cellpadding="2">
<%loop attachments%>
<tr class=body >
<td class=body><%mat_file_name%> (<%GList::Tools::friendly_size($mat_file_size)%>)</td>
<td class=body><i>
<a href="glist.cgi?do=mli_fview&fn=<%mat_id%>&fd=<%mli_id%>">view</a>
<a href="glist.cgi?do=mli_fdownload&fn=<%mat_id%>&fd=<%mli_id%>">download</a></i>
</td>
</tr>
<%endloop%>
</table>
</td>
</tr>
<%endif%>
<%if mli_message_text%>
<tr class=body>
<td colspan=2 valign=top><b>Text Message:</b><br />
<%GList::HTML::html_unescape($mli_message_text)%>
</td>
</tr>
<%endif%>
<%if mli_message_html%>
<tr class=body>
<td colspan=2 valign=top><br /><b>HTML Message:</b><br />
<%mli_message_html%>
</td>
</tr>
<%endif%>
</table>
</td>
</tr>
</table>
<%endloop%>