Add RSS Feeds
[banana.git] / banana / templates / banana-thread.inc.tpl
1 {if $withtitle}
2 <div class="pages">
3 {if $spool->overview|@count > $msgbypage}
4 {section name=pages loop=$spool->overview step=$msgbypage}
5   {if $first >= $smarty.section.pages.index && $first < $smarty.section.pages.index_next}
6     <strong>{$smarty.section.pages.iteration}</strong>
7   {else}
8     {link group=$group first=$smarty.section.pages.index text=$smarty.section.pages.iteration}
9   {/if}
10 {/section}
11 {/if}
12 </div>
13 {/if}
14 <table class="bicol thread">
15   <tr>
16     {if $withtitle}
17     <th>
18       {if $spool->nextUnread()}
19       <div class="menu">
20         {imglink group=$group artid=$spool->nextUnread() img=next_unread alt="Message non-lu suivant"|b accesskey=u}
21       </div>
22       {/if}
23       {"Date"|b}
24     </th>
25     <th>{"Sujet"|b}</th>
26     <th>
27       {if $protocole->canSend()}
28       <div class="action">
29         {imglink group=$group action=new img=post alt="Nouveau message"|b accesskey=p}
30         {if $feed_active}{imglink group=$group action=$feed_format img=feed alt="Flux"|b accesskey=f}{/if}
31       </div>
32       {/if}
33       {"Auteur"|b}
34     </th>
35     {else}
36     <th colspan="3">
37       {"Aperçu de "|b}{link group=$group text=$group}
38     </th>
39     {/if}
40   </tr>
41   {if $spool->overview|@count}
42   {if $artid}{$spool->toHtml($artid, true)}{else}{$spool->toHtml($first)}{/if}
43   {else}
44   <tr>
45     <td colspan="3">
46       {"Aucun message dans ce forum"|b}
47     </td>
48   </tr>
49   {/if}
50 </table>
51 {if $showboxlist}
52 {include file="banana-boxlist.inc.tpl" grouplist=$groups withstats=true}
53 {/if}
54 {if $withtitle}
55 <div class="pages">
56 {if $spool->overview|@count > $msgbypage}
57 {section name=pages loop=$spool->overview step=$msgbypage}
58   {if $first >= $smarty.section.pages.index && $first < $smarty.section.pages.index_next}
59     <strong>{$smarty.section.pages.iteration}</strong>
60   {else}
61     {link group=$group first=$smarty.section.pages.index text=$smarty.section.pages.iteration}
62   {/if}
63 {/section}
64 {/if}
65 </div>
66 {/if}
67
68 {* vim:set et sw=2 sts=2 ts=2 enc=utf-8: *}