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

103 lines
4.1 KiB
HTML

<body>
<form name="myform" action="glist.cgi" method="post">
<table width="100%" height="40" border="0" cellspacing="1" cellpadding="2" align="center" style="border: solid 1px #008000">
<%if msg%>
<tr>
<td class="body"><%msg%></td>
</tr>
<%endif%>
<tr>
<td class="body">Send a copy of this message to:<br />
Name <input class="object" type="text" name="name" value="<%ifnot name%><%pro_first_name%> <%pro_last_name%><%else%><%name%><%endif%>" size="15">
Email <input class="object" type="text" name="email" value="<%ifnot email%><%usr_email%><%else%><%email%><%endif%>" size="25">
<input class="button" type="submit" name="bemail" value=" Send ">
</td>
</tr>
</table>
<input type=hidden name="msg_id" value="<%msg_id%>" />
<input type=hidden name="msg_id-opt" value="=" />
<input type=hidden name="d" value="1" />
<input type=hidden name="p" value="1" />
<input type=hidden name="do" value="msg_send_sample" />
<%hidden_objects%>
</form>
<%loop results%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td>
<table width="100%" border="0" cellspacing="1" cellpadding="4">
<tr class="body">
<td width=15% class="body" valign=top>Message Mode</td>
<td width=85% class="body">[<b>
<%if msg_mode eq 'html'%>HTML
<%elsif msg_mode eq 'multi'%>Text and HTML
<%else%>Text Only<%endif%></b> ]
</td>
</tr>
<%if msg_charset%>
<tr class="body">
<td valign=top>Charset</td>
<td ><%msg_charset%></td>
</tr>
<%endif%>
<tr class="body">
<td valign=top>Subject</td>
<td ><%msg_subject%></td>
</tr>
<tr class="body">
<td width=20% class="body" valign=top>From</td>
<td width=80% class="body"><%if msg_from_name%>"<%msg_from_name%>" &lt;<%msg_from_email%>&gt;<%else%><%msg_from_email%><%endif%></td>
</tr>
<tr class="body">
<td class="body" valign=top>Reply To</td>
<td class="body"><%msg_reply_to%></td>
</tr>
<tr class="body">
<td class="body" valign=top>Return-Path</td>
<td class="body"><%msg_bounce_email%></td>
</tr>
<tr class="body">
<td valign=top>Created</td>
<td><%GList::HTML::date_get('msg_created', '%mm%-%dd%-%yyyy% %hh%:%MM%:%ss%')%>
<%if usr_email ne $msg_user_id_fk%>, by <b><%msg_user_id_fk%></b><%endif%>
</td>
</tr>
<%GList::HTML::generate_attachments%>
<%if attachments%>
<tr class="body">
<td valign=top>Attachments</td>
<td>
<table border="0" cellspacing="2" cellpadding="2">
<%loop attachments%>
<tr class="body">
<td class="body"><%att_file_name%> (<%GList::Tools::friendly_size($att_file_size)%>)</td>
<td class="body"><i>
<a href="javascript:rs('Details','glist.cgi?do=msg_fview&fn=<%att_id%>&fd=<%msg_id%>&ft=1',550,650,0,20,'Yes')">view</a>
<a href="glist.cgi?do=msg_fdownload&fn=<%att_id%>&fd=<%msg_id%>&ft=1">download</a></i>
</td>
</tr>
<%endloop%>
</table>
</td>
</tr>
<%endif%>
<%if msg_content_text%>
<tr class="body">
<td colspan=2 valign=top class="body"><%if msg_mode eq 'multi' or msg_mode eq 'html'%><b>Text Message</b><br /><%endif%>
<%GList::HTML::html_unescape($msg_content_text)%>
</td>
</tr>
<%endif%>
<%if msg_content_html%>
<tr class="body">
<td colspan=2 valign=top><%if msg_mode eq 'multi' or msg_mode eq 'html' %><b>HTML Message</b><br /><%endif%>
<%msg_content_html%>
</td>
</tr>
<%endif%>
</table>
</td>
</tr>
</table>
<%endloop%>