831 |
florian |
1 |
<table border="0" cellspacing="0" class="PhorumStdTable">
|
|
|
2 |
<tr>
|
|
|
3 |
<th class="PhorumTableHeader" align="left" width="20">
|
|
|
4 |
{ASSIGN ITEMCOUNT MESSAGECOUNT}
|
|
|
5 |
{INCLUDE pm_list_selectall}
|
|
|
6 |
</th>
|
|
|
7 |
<th class="PhorumTableHeader" align="left">{LANG->Subject}</th>
|
|
|
8 |
<th class="PhorumTableHeader" align="left" nowrap="nowrap">{LANG->To} </th>
|
|
|
9 |
<th class="PhorumTableHeader" align="left" nowrap="nowrap">{LANG->PMRead} </th>
|
|
|
10 |
<th class="PhorumTableHeader" align="left" nowrap="nowrap">{LANG->Date} </th>
|
|
|
11 |
</tr>
|
|
|
12 |
{IF MESSAGECOUNT}
|
|
|
13 |
{LOOP MESSAGES}
|
|
|
14 |
<tr>
|
|
|
15 |
<td class="PhorumTableRow">
|
|
|
16 |
<input type="checkbox" name="checked[]" value="{MESSAGES->pm_message_id}" />
|
|
|
17 |
</td>
|
|
|
18 |
<td class="PhorumTableRow"><a href="{MESSAGES->read_url}">{MESSAGES->subject}</a></td>
|
|
|
19 |
<td class="PhorumTableRow" nowrap="nowrap">
|
|
|
20 |
{IF MESSAGES->recipient_count 1}
|
|
|
21 |
{LOOP MESSAGES->recipients}
|
|
|
22 |
<a href="{MESSAGES->recipients->to_profile_url}">{MESSAGES->recipients->username}</a>
|
|
|
23 |
{/LOOP MESSAGES->recipients}
|
|
|
24 |
{ELSE}
|
|
|
25 |
{MESSAGES->recipient_count} {LANG->Recipients}
|
|
|
26 |
{/IF}
|
|
|
27 |
</td>
|
|
|
28 |
<td class="PhorumTableRow" nowrap="nowrap" align="left">
|
|
|
29 |
{IF MESSAGES->recipient_count 1}
|
|
|
30 |
{LOOP MESSAGES->recipients}
|
|
|
31 |
{IF MESSAGES->recipients->read_flag}{LANG->Yes}{ELSE}{LANG->No}{/IF}
|
|
|
32 |
{/LOOP MESSAGES->recipients}
|
|
|
33 |
{ELSE}
|
|
|
34 |
{IF MESSAGES->receive_count MESSAGES->recipient_count}
|
|
|
35 |
{LANG->Yes}
|
|
|
36 |
{ELSE}
|
|
|
37 |
{MESSAGES->receive_count} {LANG->of} {MESSAGES->recipient_count}
|
|
|
38 |
{/IF}
|
|
|
39 |
{/IF}
|
|
|
40 |
</td>
|
|
|
41 |
<td class="PhorumTableRow" nowrap="nowrap" style="white-space:nowrap" width="1">
|
|
|
42 |
<div style="white-space:nowrap">{MESSAGES->date} </div>
|
|
|
43 |
</td>
|
|
|
44 |
</tr>
|
|
|
45 |
{/LOOP MESSAGES}
|
|
|
46 |
{ELSE}
|
|
|
47 |
<tr>
|
|
|
48 |
<td colspan="5" style="text-align: center" class="PhorumTableRow">
|
|
|
49 |
<br />
|
|
|
50 |
<i>{LANG->PMFolderIsEmpty}</i><br />
|
|
|
51 |
<br />
|
|
|
52 |
</td>
|
|
|
53 |
</tr>
|
|
|
54 |
{/IF}
|
|
|
55 |
</table>
|
|
|
56 |
<div class="PhorumStdBlock" style="border-top:none">
|
|
|
57 |
<input type="submit" name="delete" class="PhorumSubmit" value="{LANG->Delete}" onclick="return confirm('<?php echo addslashes($PHORUM['DATA']['LANG']['AreYouSure'])?>')" />
|
|
|
58 |
</div>
|