Subversion Repositories Applications.papyrus

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
831 florian 1
<div class="PhorumNavBlock" style="text-align: left;">
2
  <span class="PhorumNavHeading PhorumHeadingLeft">{LANG->Goto}:</span>&nbsp;{IF URL->INDEX}<a class="PhorumNavLink" href="{URL->INDEX}">{LANG->ForumList}</a>&bull;{/IF}<a class="PhorumNavLink" href="{URL->TOP}">{LANG->MessageList}</a>&bull;<a class="PhorumNavLink" href="{URL->POST}">{LANG->NewTopic}</a>&bull;<a class="PhorumNavLink" href="{URL->SEARCH}">{LANG->Search}</a>&bull;{IF LOGGEDIN true}<a class="PhorumNavLink" href="{URL->MARKTHREADREAD}">{LANG->MarkThreadRead}</a>&bull;<a class="PhorumNavLink" href="{URL->LOGINOUT}">{LANG->LogOut}</a>{ELSE}<a class="PhorumNavLink" href="{URL->LOGINOUT}">{LANG->LogIn}</a>{/IF}
3
</div>
4
{IF MESSAGE->is_unapproved}
5
  <div class="PhorumStdBlock">
6
    <div class="PhorumReadBodyHead"><strong>{LANG->UnapprovedMessage}</strong></div>
7
  </div>
8
{/IF}
9
<div class="PhorumStdBlock">
10
  <div class="PhorumReadBodySubject">{MESSAGE->subject}</div>
11
  <div class="PhorumReadBodyHead">{LANG->Postedby}: <strong>{MESSAGE->linked_author}</strong> ({MESSAGE->ip})</div>
12
  <div class="PhorumReadBodyHead">{LANG->Date}: {MESSAGE->datestamp}</div><br />
13
  <div class="PhorumReadBodyText">{MESSAGE->body}</div><br />
14
  {IF ATTACHMENTS}
15
    {IF MESSAGE->attachments}
16
      {LANG->Attachments}:
17
      {ASSIGN MESSAGE_ATTACHMENTS MESSAGE->attachments}
18
      {LOOP MESSAGE_ATTACHMENTS}
19
        <a href="{MESSAGE_ATTACHMENTS->url}">{MESSAGE_ATTACHMENTS->name} ({MESSAGE_ATTACHMENTS->size})</a>&nbsp;&nbsp;
20
      {/LOOP MESSAGE_ATTACHMENTS}
21
    {/IF}
22
  {/IF}
23
</div>
24
{IF MODERATOR true}
25
  <div class="PhorumReadNavBlock" style="text-align: left;">
26
    <span class="PhorumNavHeading PhorumHeadingLeft">{LANG->Moderate}:</span>&nbsp;{IF MESSAGE->threadstart true}<a class="PhorumNavLink" href="javascript:if(window.confirm('{LANG->ConfirmDeleteThread}')) window.location='{MESSAGE->delete_url2}';">{LANG->DeleteThread}</a>&bull;{IF MESSAGE->move_url}<a class="PhorumNavLink" href="{MESSAGE->move_url}">{LANG->MoveThread}</a>&bull;{/IF}<a class="PhorumNavLink" href="{MESSAGE->merge_url}">{LANG->MergeThread}</a>&bull;{IF MESSAGE->closed false}<a class="PhorumNavLink" href="{MESSAGE->close_url}">{LANG->CloseThread}</a>{ELSE}<a class="PhorumNavLink" href="{MESSAGE->reopen_url}">{LANG->ReopenThread}</a>{/IF}{ELSE}<a class="PhorumNavLink" href="javascript:if(window.confirm('{LANG->ConfirmDeleteMessage}')) window.location='{MESSAGE->delete_url1}';">{LANG->DeleteMessage}</a>&bull;<a class="PhorumNavLink" href="javascript:if(window.confirm('{LANG->ConfirmDeleteMessage}')) window.location='{MESSAGE->delete_url2}';">{LANG->DelMessReplies}</a>&bull;<a class="PhorumNavLink" href="{MESSAGE->split_url}">{LANG->SplitThread}</a>{/IF}{IF MESSAGE->is_unapproved}&bull;<a class="PhorumNavLink" href="{MESSAGE->approve_url}">{LANG->ApproveMessage}</a>{ELSE}&bull;<a class="PhorumNavLink" href="{MESSAGE->hide_url}">{LANG->HideMessage}</a>{/IF}&bull;<a class="PhorumNavLink" href="{MESSAGE->edit_url}">{LANG->EditPost}</a>
27
  </div>
28
{/IF}
29
<div class="PhorumNavBlock">
30
  <div style="float: right;">
31
    <span class="PhorumNavHeading">{LANG->Navigate}:</span>&nbsp;<a class="PhorumNavLink" href="{MESSAGE->prev_url}">{LANG->PreviousMessage}</a>&bull;<a class="PhorumNavLink" href="{MESSAGE->next_url}">{LANG->NextMessage}</a>
32
  </div>
33
  <span class="PhorumNavHeading PhorumHeadingLeft">{LANG->Options}:</span>&nbsp;<a class="PhorumNavLink" href="{MESSAGE->reply_url}">{LANG->Reply}</a>&bull;<a class="PhorumNavLink" href="{MESSAGE->quote_url}">{LANG->QuoteMessage}</a>{IF LOGGEDIN}{IF MESSAGE->private_reply_url}&bull;<a class="PhorumNavLink" href="{MESSAGE->private_reply_url}">{LANG->PrivateReply}</a>{/IF}&bull;<a class="PhorumNavLink" href="{MESSAGE->follow_url}">{LANG->FollowThread}</a>&bull;<a class="PhorumNavLink" href="{MESSAGE->report_url}">{LANG->Report}</a>{/IF}{IF MESSAGE->edit 1}&bull;<a class="PhorumNavLink" href="{MESSAGE->edituser_url}">{LANG->EditPost}</a>{/IF}
34
</div><br /><br />
35
<table class="PhorumStdTable" cellspacing="0">
36
  <tr>
37
    <th class="PhorumTableHeader" align="left">{LANG->Subject}</th>
38
    {IF VIEWCOUNT_COLUMN}
39
      <th class="PhorumTableHeader" align="center">{LANG->Views}</th>
40
    {/IF}
41
    <th class="PhorumTableHeader" align="left" nowrap>{LANG->WrittenBy}</th>
42
    <th class="PhorumTableHeader" align="left" nowrap>{LANG->Posted}</th>
43
  </tr>
44
  <?php $rclass="Alt"; ?>
45
  {LOOP MESSAGES}
46
    <?php if($rclass=="Alt") $rclass=""; else $rclass="Alt"; ?>
47
    <tr>
48
      <td class="PhorumTableRow<?php echo $rclass;?>" style="padding-left: {MESSAGES->indent_cnt}px">
49
        {marker}
50
        <?php
51
          if($PHORUM['TMP']['MESSAGES']['message_id'] == $PHORUM['DATA']['MESSAGE']['message_id']) {
52
            echo '<b>'. $PHORUM['TMP']['MESSAGES']['subject'].'</b>';
53
          } else {
54
        ?>
55
            <a href="{MESSAGES->url}">{MESSAGES->subject}</a>
56
            <span class="PhorumNewFlag">{MESSAGES->new}</span>
57
        <?php
58
          }
59
        ?>
60
        {IF MESSAGES->is_unapproved} ({LANG->UnapprovedMessage}){/IF}
61
      </td>
62
      {IF VIEWCOUNT_COLUMN}
63
        <td class="PhorumTableRow<?php echo $rclass;?>" nowrap="nowrap" align="center" width="80">{MESSAGES->viewcount}</td>
64
      {/IF}
65
      <td class="PhorumTableRow<?php echo $rclass;?>" nowrap="nowrap" width="150">{MESSAGES->linked_author}</td>
66
      <td class="PhorumTableRow<?php echo $rclass;?> PhorumSmallFont" nowrap="nowrap" width="150">{MESSAGES->short_datestamp}</td>
67
    </tr>
68
  {/LOOP MESSAGES}
69
</table><br /><br />