831 |
florian |
1 |
<form action="{ACTION}" method="post">
|
|
|
2 |
{POST_VARS}
|
|
|
3 |
<input type="hidden" name="action" value="list" />
|
|
|
4 |
<input type="hidden" name="folder_id" value="{FOLDER_ID}" />
|
|
|
5 |
<input type="hidden" name="forum_id" value="{FORUM_ID}" />
|
|
|
6 |
<input type="hidden" name="pm_id" value="{MESSAGE->pm_message_id}" />
|
|
|
7 |
<div class="PhorumStdBlock">
|
|
|
8 |
<div class="PhorumReadBodySubject">{MESSAGE->subject}</div>
|
|
|
9 |
<div class="PhorumReadBodyHead">{LANG->From}: <strong><a href="{MESSAGE->from_profile_url}">{MESSAGE->from_username}</a></strong></div>
|
|
|
10 |
<div class="PhorumReadBodyHead">
|
|
|
11 |
{LANG->To}:
|
|
|
12 |
{ASSIGN ISFIRST true}
|
|
|
13 |
{LOOP MESSAGE->recipients}
|
|
|
14 |
<div style="display:inline; white-space: nowrap">
|
|
|
15 |
{IF NOT ISFIRST} / {/IF}
|
|
|
16 |
<strong><a href="{MESSAGE->recipients->to_profile_url}">{MESSAGE->recipients->username}</a></strong>
|
|
|
17 |
{IF USERINFO->user_id MESSAGE->from_user_id}
|
|
|
18 |
{IF NOT MESSAGE->recipients->read_flag}({LANG->PMUnread}){/IF}
|
|
|
19 |
{/IF}
|
|
|
20 |
{ASSIGN ISFIRST false}
|
|
|
21 |
</div>
|
|
|
22 |
{/LOOP MESSAGE->recipients}
|
|
|
23 |
</div>
|
|
|
24 |
<div class="PhorumReadBodyHead">{LANG->Date}: {MESSAGE->date}</div><br />
|
|
|
25 |
<div class="PhorumReadBodyText">{MESSAGE->message}</div><br />
|
|
|
26 |
</div>
|
|
|
27 |
<div class="PhorumStdBlock" style="border-top:none">
|
|
|
28 |
{IF FOLDER_IS_INCOMING}
|
|
|
29 |
{VAR MOVE_SUBMIT_NAME move_message}
|
|
|
30 |
{INCLUDE pm_moveselect}
|
|
|
31 |
{/IF}
|
|
|
32 |
<input type="submit" name="close_message" class="PhorumSubmit" value="{LANG->PMCloseMessage}" />
|
|
|
33 |
{IF NOT MESSAGE->from_user_id USERINFO->user_id}
|
|
|
34 |
<input type="submit" name="reply" class="PhorumSubmit" value="{LANG->PMReply}" />
|
|
|
35 |
{IF NOT MESSAGE->recipient_count 1}
|
|
|
36 |
<input type="submit" name="reply_to_all" class="PhorumSubmit" value="{LANG->PMReplyToAll}" />
|
|
|
37 |
{/IF}
|
|
|
38 |
{/IF}
|
|
|
39 |
<input type="submit" name="delete_message" class="PhorumSubmit" value="{LANG->Delete}" onclick="return confirm('<?php echo addslashes($PHORUM['DATA']['LANG']['AreYouSure'])?>')" />
|
|
|
40 |
</div>
|
|
|
41 |
</form>
|