2 This program is free software. It comes without any warranty, to
3 the extent permitted by applicable law. You can redistribute it
4 and/or modify it under the terms of the Do What The Fuck You Want
5 To Public License, Version 2, as published by Sam Hocevar. See
6 http://sam.zoy.org/wtfpl/COPYING for more details.
9 {if $template_event eq 'preview'}
12 <td valign='top' rowspan='2' ><img hspace='5' src='{get_image_link id=$user_id}'></td>
13 <td width='100%' valign='top'>
14 <table width='100%'><tr class='header'>
15 <td align='center'>PREVIEW
17 <tr><td>{$post_vars.mail_text|preview}</td></tr>
23 {get_mail listing_amount=$listing_amount offset=$offset}
24 {foreach from=$get_mail item=message}
27 <td valign='top' rowspan='2'><img hspace='5' width='50' src='{get_image_link id=$message.mail_from}'>
28 <td class='header' valign='top'>
29 <a href='javascript:chngto("{$message.mail_from_name}","{$message.mail_from}")'>{$message.mail_from_name}</a>
30 {if $message.mail_from neq $user_id and $message.locationfrom_action_id}[location:: <a href='/id/{$message.locationfrom_action_id}'>{$message.locationfrom_action}</a>]{/if}
31 -->
32 <a href='javascript:chngto("{$message.mail_to_name}","{$message.mail_to}")'>{$message.mail_to_name}</a>
33 {if $message.mail_to neq $user_id and $message.locationto_action_id}[location:: <a href='/id/{$message.locationto_action_id}'>{$message.locationto_action}</a>]{/if}
34 -- <input type='checkbox' name='message[{$message.mail_id}]'>
36 {if $message.mail_to==$user_id AND $message.mail_timestamp > $node.last_visit}<span class='most_important'>NEW</span>
37 {elseif $message.mail_read eq 'no'}<span class='most_important'>UNDELIVERED</span>{/if}
38   {$message.mail_timestamp|date_format:"%H:%M:%S - %d.%m.%Y"}
42 <td valign='top'>{$message.mail_text}</td>