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->POST}">{LANG->NewTopic}</a>&bull;<a class="PhorumNavLink" href="{URL->SEARCH}">{LANG->Search}</a>&bull;{INCLUDE loginout_menu}
3
</div>
4
{IF PAGES}
5
  <div class="PhorumNavBlock" style="text-align: left;">
6
    <div style="float: right;">
7
      <span class="PhorumNavHeading">{LANG->Pages}:</span>&nbsp;{IF URL->PREVPAGE}<a class="PhorumNavLink" href="{URL->PREVPAGE}">{LANG->PrevPage}</a>{/IF}{IF URL->FIRSTPAGE}<a class="PhorumNavLink" href="{URL->FIRSTPAGE}">{LANG->FirstPage}...</a>{/IF}{LOOP PAGES}{IF PAGES->pageno CURRENTPAGE}<span class="PhorumNavLink"><strong>{PAGES->pageno}</strong></span>{ELSE}<a class="PhorumNavLink" href="{PAGES->url}">{PAGES->pageno}</a>{/IF}{/LOOP PAGES}{IF URL->LASTPAGE}<a class="PhorumNavLink" href="{URL->LASTPAGE}">...{LANG->LastPage}</a>{/IF}{IF URL->NEXTPAGE}<a class="PhorumNavLink" href="{URL->NEXTPAGE}">{LANG->NextPage}</a>{/IF}
8
    </div>
9
    <span class="PhorumNavHeading PhorumHeadingLeft">{LANG->CurrentPage}:</span>{CURRENTPAGE} {LANG->of} {TOTALPAGES}
10
  </div>
11
{/IF}
12
<table class="PhorumStdTable" cellspacing="0">
13
  <tr>
14
    <th class="PhorumTableHeader" align="left">{LANG->Subject}</th>
15
    {IF VIEWCOUNT_COLUMN}
16
      <th class="PhorumTableHeader" align="center">{LANG->Views}</th>
17
    {/IF}
18
    <th class="PhorumTableHeader" align="left" nowrap>{LANG->WrittenBy}</th>
19
    <th class="PhorumTableHeader" align="left" nowrap>{LANG->Posted}</th>
20
  </tr>
21
  <?php $oldthread=0; $rclass=""; ?>
22
  {LOOP ROWS}
23
    <?php
24
      if($oldthread != $PHORUM['TMP']['ROWS']['thread']){
25
        if($rclass=="Alt") $rclass=""; else $rclass="Alt";
26
        $oldthread=$PHORUM['TMP']['ROWS']['thread'];
27
      }
28
    ?>
29
    <tr>
30
      {IF ROWS->sort PHORUM_SORT_STICKY}
31
        <td class="PhorumTableRow<?php echo $rclass;?>" style="padding-left: {ROWS->indent_cnt}px">
32
          {marker}<span class="PhorumListSubjPrefix">{LANG->Sticky}:&nbsp;</span>
33
          {IF ROWS->moved}<span class="PhorumListSubjPrefix">{LANG->MovedSubject}:&nbsp;</span>{/IF}
34
          <a href="{ROWS->url}">{ROWS->subject}</a>&nbsp;({ROWS->thread_count} {LANG->Posts})&nbsp;<span class="PhorumNewFlag">{ROWS->new}</span>
35
        </td>
36
      {ELSEIF ROWS->sort PHORUM_SORT_ANNOUNCEMENT}
37
        <td class="PhorumTableRow<?php echo $rclass;?>" style="padding-left: {ROWS->indent_cnt}px">
38
          {marker}<span class="PhorumListSubjPrefix">{LANG->Announcement}:&nbsp;</span>
39
          {IF ROWS->moved}<span class="PhorumListSubjPrefix">{LANG->MovedSubject}:&nbsp;</span>{/IF}
40
          <a href="{ROWS->url}">{ROWS->subject}</a>&nbsp;({ROWS->thread_count} {LANG->Posts})&nbsp;<span class="PhorumNewFlag">{ROWS->new}</span>
41
        </td>
42
      {ELSE}
43
        <td class="PhorumTableRow<?php echo $rclass;?>" style="padding-left: {ROWS->indent_cnt}px">
44
          {marker}
45
          {IF ROWS->sort PHORUM_SORT_STICKY}
46
            <span class="PhorumListSubjPrefix">{LANG->Sticky}:&nbsp;</span>
47
          {/IF}
48
          {IF ROWS->sort PHORUM_SORT_ANNOUNCEMENT}
49
            <span class="PhorumListSubjPrefix">{LANG->Announcement}:&nbsp;</span>
50
          {/IF}
51
          {IF ROWS->moved}
52
            <span class="PhorumListSubjPrefix">{LANG->MovedSubject}:&nbsp;</span>
53
          {/IF}
54
          <a href="{ROWS->url}">{ROWS->subject}</a>&nbsp;<span class="PhorumNewFlag">{ROWS->new}</span>
55
        </td>
56
      {/IF}
57
      {IF VIEWCOUNT_COLUMN}
58
        <td class="PhorumTableRow<?php echo $rclass;?>" nowrap="nowrap" align="center" width="80">
59
          {ROWS->viewcount}
60
        </td>
61
      {/IF}
62
      <td class="PhorumTableRow<?php echo $rclass;?>" nowrap="nowrap" width="150">
63
        {ROWS->linked_author}
64
      </td>
65
      <td class="PhorumTableRow<?php echo $rclass;?> PhorumSmallFont" nowrap="nowrap" width="150">
66
        {ROWS->datestamp}
67
        {IF MODERATOR true}
68
          <br />
69
          <span class="PhorumListModLink">
70
            {IF ROWS->threadstart false}
71
              <a class="PhorumListModLink" href="javascript:if(window.confirm('{LANG->ConfirmDeleteMessage}')) window.location='{ROWS->delete_url1}';">{LANG->DeleteMessage}</a>
72
            {/IF}
73
            {IF ROWS->threadstart true}
74
              <a class="PhorumListModLink" href="javascript:if(window.confirm('{LANG->ConfirmDeleteThread}')) window.location='{ROWS->delete_url2}';">{LANG->DeleteThread}</a>{IF ROWS->move_url}&nbsp;|&nbsp;<a class="PhorumListModLink" href="{ROWS->move_url}">{LANG->MoveThread}</a>{/IF}&nbsp;|&nbsp;<a class="PhorumListModLink" href="{ROWS->merge_url}">{LANG->MergeThread}</a>{/IF}
75
          </span>
76
        {/IF}
77
      </td>
78
    </tr>
79
  {/LOOP ROWS}
80
</table>
81
{INCLUDE paging}
82
<div class="PhorumNavBlock" style="text-align: left;">
83
  <span class="PhorumNavHeading PhorumHeadingLeft">{LANG->Options}:</span>&nbsp;{IF LOGGEDIN true}<a class="PhorumNavLink" href="{URL->MARKREAD}">{LANG->MarkRead}</a>{/IF}
84
</div>