131 lines
5.4 KiB
HTML
131 lines
5.4 KiB
HTML
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center">
|
|
<tr>
|
|
<td>
|
|
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
|
|
<tr>
|
|
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
|
</tr>
|
|
<%loop results%>
|
|
<tr bgcolor="#C5E1A3">
|
|
<td>
|
|
<table width="100%" border="0" cellspacing="1" cellpadding="1">
|
|
<tr class="bold_white">
|
|
<td bgcolor="#336600">
|
|
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td height="20" class="bold_white"><img src="<%image_url%>/icons/<%if msg_status%>sent.gif<%else%>message.gif<%endif%>" hspace="2" vspace="2" align="texttop">Message Details</td>
|
|
<td align="right" class="body_white">
|
|
<%set iclose = 1%>
|
|
<%set ipreview = 1%>
|
|
<%set isend = 1%>
|
|
<%set iedit = 1%>
|
|
<%set modify = 1%>
|
|
<%include msg_include_icons.html%>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td width=1><img src="<%image_url%>/pics/1pixel.gif" width=1></td>
|
|
</tr>
|
|
</table>
|
|
<br />
|
|
<table width="100%" border="0" cellspacing="1" cellpadding="2" align="center">
|
|
<tr class="body">
|
|
<td width=15% class="body" valign=top><b>Message Mode</b></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><b>Charset</b></td>
|
|
<td ><%msg_charset%></td>
|
|
</tr>
|
|
<%endif%>
|
|
<tr class="body">
|
|
<td width=15% class="body" valign=top><b>Subject</b></td>
|
|
<td width=85% class="body"><%msg_subject%></td>
|
|
</tr>
|
|
<tr class="body">
|
|
<td class="body" valign=top><b>From</b></td>
|
|
<td class="body"><%if msg_from_name%>"<%msg_from_name%>" <<%msg_from_email%>><%else%><%msg_from_email%><%endif%></td>
|
|
</tr>
|
|
<tr class="body">
|
|
<td class="body" valign=top><b>Reply To</b></td>
|
|
<td class="body"><%msg_reply_to%></td>
|
|
</tr>
|
|
<tr class="body">
|
|
<td class="body" valign=top><b>Return-Path</b></td>
|
|
<td class="body"><%msg_bounce_email%></td>
|
|
</tr>
|
|
<tr class="body">
|
|
<td class="body" valign=top width=12%><b>Status</b></td>
|
|
<td class="body"><%ifnot msg_status%>Draft<%elsif msg_status == 1%>Sent<%endif%></td>
|
|
</tr>
|
|
<tr class="body">
|
|
<td class="body" valign=top><b>Created</b></td>
|
|
<td class="body"><%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 class="body" valign=top><b>Attachments</b></td>
|
|
<td class="body">
|
|
<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<%hidden_query%>',550,650,0,20,'Yes')">view</a>
|
|
<a href="glist.cgi?do=msg_fdownload;fn=<%att_id%>;fd=<%msg_id%>;ft=1<%hidden_query%>">download</a></i>
|
|
</td>
|
|
</tr>
|
|
<%endloop%>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<%endif%>
|
|
<%if msg_content_text%>
|
|
<tr class="body" height=310>
|
|
<td class="body" colspan=2 valign=top><%if msg_mode eq 'multi' or msg_mode eq 'html'%><b>Text Message</b><br /><%endif%>
|
|
<table width="100%" height="100%" cellpadding="0" cellspacing="0" STYLE="height:290px; overflow:auto;border:1px solid #CCCCCC;">
|
|
<tr class="body">
|
|
<td valign=top>
|
|
<div style="position: relative; width:100%; height:300px; overflow:auto;">
|
|
<%GList::HTML::html_unescape($msg_content_text)%>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<%endif%>
|
|
<%if msg_content_html%>
|
|
<tr class="body" height=310>
|
|
<td class="body" colspan=2 valign=top><%if msg_mode eq 'multi' or msg_mode eq 'html'%><b>HTML Message</b><br /><%endif%>
|
|
<table width="100%" height="100%" cellpadding="0" cellspacing="0" STYLE="height:290px; overflow:auto;border:1px solid #CCCCCC;">
|
|
<tr>
|
|
<td valign=top>
|
|
<div style="position: relative; width:100%; height:300px; overflow:auto;">
|
|
<%msg_content_html%>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<br />
|
|
</td>
|
|
</tr>
|
|
<%endif%>
|
|
</table>
|
|
<%endloop%>
|
|
</td>
|
|
</tr>
|
|
</table>
|