| 1 | <fieldset> |
|---|
| 2 | <legend><img src="icon/boardM.png" alt="" /> {lang}wbb.board.threads.normal{/lang}</legend> |
|---|
| 3 | <table class="tableList"> |
|---|
| 4 | <thead> |
|---|
| 5 | <tr class="tableHead"> |
|---|
| 6 | <th colspan="2" class="columnTopic"> |
|---|
| 7 | <div>{lang}wbb.board.threads.topic{/lang}</div> |
|---|
| 8 | </th> |
|---|
| 9 | {if THREAD_ENABLE_RATING} |
|---|
| 10 | <th class="columnRating"> |
|---|
| 11 | <div>{lang}wbb.board.threads.rating{/lang}</div> |
|---|
| 12 | </th> |
|---|
| 13 | {/if} |
|---|
| 14 | <th class="columnReplies"> |
|---|
| 15 | <div>{lang}wcf.taggingreloaded.weight{/lang}</div> |
|---|
| 16 | </th> |
|---|
| 17 | <th class="columnReplies"> |
|---|
| 18 | <div>{lang}wbb.board.threads.replies{/lang}</div> |
|---|
| 19 | </th> |
|---|
| 20 | <th class="columnViews"> |
|---|
| 21 | <div>{lang}wbb.board.threads.views{/lang}</div> |
|---|
| 22 | </th> |
|---|
| 23 | </tr> |
|---|
| 24 | </thead> |
|---|
| 25 | <tbody> |
|---|
| 26 | {foreach from=$threads item=thread} |
|---|
| 27 | <tr class="container-{cycle values='1,2'}" id="threadRow{@$thread->threadID}"> |
|---|
| 28 | <td class="columnIcon"> |
|---|
| 29 | <img id="threadEdit{@$thread->threadID}" src="{@RELATIVE_WBB_DIR}icon/{@$thread->getIconName()}M.png" alt="" {if $thread->isNew()}title="{lang}wbb.thread.markAsReadByDoubleClick{/lang}" {/if}/> |
|---|
| 30 | {if $thread->isNew()} |
|---|
| 31 | <script type="text/javascript"> |
|---|
| 32 | //<![CDATA[ |
|---|
| 33 | threadMarkAsRead.init({@$thread->threadID}); |
|---|
| 34 | //]]> |
|---|
| 35 | </script> |
|---|
| 36 | {/if} |
|---|
| 37 | </td> |
|---|
| 38 | <td class="columnTopic"{if BOARD_THREADS_ENABLE_MESSAGE_PREVIEW && $thread->getPermission()} title="{$thread->firstPostPreview}"{/if}> |
|---|
| 39 | <div class="smallPages"> |
|---|
| 40 | {if $thread->subscribed}<img src="{@RELATIVE_WBB_DIR}icon/threadSubscribedS.png" alt="" title="{lang}wbb.board.threads.subscribed{/lang}" />{/if} |
|---|
| 41 | {if $thread->polls}<img src="{@RELATIVE_WCF_DIR}icon/pollS.png" alt="" title="{lang}wbb.board.threads.polls{/lang}" />{/if} |
|---|
| 42 | {if $thread->attachments}<img src="{@RELATIVE_WCF_DIR}icon/attachmentsS.png" alt="" title="{lang}wbb.board.threads.attachments{/lang}" />{/if} |
|---|
| 43 | {if $thread->ownPosts}<img src="{@RELATIVE_WCF_DIR}icon/userS.png" alt="" title="{lang}wbb.board.threads.ownPosts{/lang}" />{/if} |
|---|
| 44 | </div> |
|---|
| 45 | |
|---|
| 46 | <div id="thread{@$thread->threadID}" class="topic{if $thread->isNew()} new{/if}{if $thread->ownPosts || $thread->subscribed} interesting{/if}"> |
|---|
| 47 | {if $thread->isNew()} |
|---|
| 48 | <a id="gotoFirstNewPost{@$thread->threadID}" href="index.php?page=Thread&threadID={@$thread->threadID}&action=firstNew{@SID_ARG_2ND}"><img class="goToNewPost" src="{@RELATIVE_WBB_DIR}icon/goToFirstNewPostS.png" alt="" title="{lang}wbb.index.gotoFirstNewPost{/lang}" /></a> |
|---|
| 49 | {/if} |
|---|
| 50 | |
|---|
| 51 | <p id="threadTitle{@$thread->threadID}"> |
|---|
| 52 | <span class="prefix"><strong>{lang}{$thread->prefix}{/lang}</strong></span> |
|---|
| 53 | <a href="index.php?page=Thread&threadID={@$thread->threadID}{@SID_ARG_2ND}">{$thread->topic}</a> |
|---|
| 54 | </p> |
|---|
| 55 | </div> |
|---|
| 56 | |
|---|
| 57 | <p class="firstPost light"> |
|---|
| 58 | {lang}wbb.board.threads.postBy{/lang} |
|---|
| 59 | {if $thread->userID} |
|---|
| 60 | <a href="index.php?page=User&userID={@$thread->userID}{@SID_ARG_2ND}">{$thread->username}</a> |
|---|
| 61 | {else} |
|---|
| 62 | {$thread->username} |
|---|
| 63 | {/if} |
|---|
| 64 | ({@$thread->time|shorttime}) |
|---|
| 65 | </p> |
|---|
| 66 | </td> |
|---|
| 67 | {if THREAD_ENABLE_RATING} |
|---|
| 68 | <td class="columnRating">{@$thread->getRatingOutput()}</td> |
|---|
| 69 | {/if} |
|---|
| 70 | <td class="columnReplies">{#$thread->weight}</td> |
|---|
| 71 | <td class="columnReplies{if $thread->replies >= BOARD_THREADS_REPLIES_HOT} hot{/if}">{#$thread->replies}</td> |
|---|
| 72 | <td class="columnViews{if $thread->views > BOARD_THREADS_VIEWS_HOT} hot{/if}">{#$thread->views}</td> |
|---|
| 73 | </tr> |
|---|
| 74 | {/foreach} |
|---|
| 75 | </tbody> |
|---|
| 76 | </table> |
|---|
| 77 | </fieldset> |
|---|