Kyberia v2.0
[mirrors/Kyberia-bloodline.git] / templates / hysteria / modules / mail.tpl~
1 {if $template_event eq 'preview'}
2 <table>
3 <tr>
4 <td valign='top' rowspan='2' ><img hspace='5' src='{get_image_link id=$user_id}'></td>
5 <td width='100%' valign='top'>
6 <table width='100%'><tr class='header'>
7 <td align='center'>PREVIEW
8
9 <tr><td>{$post_vars.mail_text|preview}</td></tr>
10 </table>
11 </table>
12 {* end of preview *}
13 {/if}
14
15 {get_mail listing_amount=$listing_amount offset=$offset}
16 {foreach from=$get_mail item=message}
17 <table>
18 <tr>
19 <td valign='top' rowspan='2'>
20 <td class='header' valign='top'>
21 <a href='javascript:chngto("{$message.mail_from_name}","{$message.mail_from}")'>{$message.mail_from_name}</a>
22 {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}
23 &nbsp;&nbsp;-->&nbsp;&nbsp;
24 <a href='javascript:chngto("{$message.mail_to_name}","{$message.mail_to}")'>{$message.mail_to_name}</a>
25 {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}
26 &nbsp;&nbsp;--&nbsp;&nbsp;<input type='checkbox' name='message[{$message.mail_id}]'>
27 <br>
28 {if $message.mail_to==$user_id AND $message.mail_timestamp > $node.last_visit}<span class='most_important'>NEW</span>
29 {elseif $message.mail_read eq 'no'}<span class='most_important'>UNDELIVERED</span>{/if}
30 &nbsp&nbsp;{$message.mail_timestamp|date_format:"%H:%M:%S - %d.%m.%Y"}
31 </td>
32 </tr>
33 <tr>
34 <td valign='top'>{$message.mail_text}</td>
35 </tr>
36 </table>
37 {/foreach}
38
39
40
This page took 0.24691 seconds and 4 git commands to generate.