Can hide the box-list in thread view
[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       </div>
31       {/if}
32       {"Auteur"|b}
33     </th>
34     {else}
35     <th colspan="3">
36       {"Aperçu de "|b}{link group=$group text=$group}
37     </th>
38     {/if}
39   </tr>
40   {if $spool->overview|@count}
41   {if $artid}{$spool->toHtml($artid, true)}{else}{$spool->toHtml($first)}{/if}
42   {else}
43   <tr>
44     <td colspan="3">
45       {"Aucun message dans ce forum"|b}
46     </td>
47   </tr>
48   {/if}
49 </table>
50 {if $showboxlist}
51 {include file="banana-boxlist.inc.tpl" grouplist=$groups withstats=true}
52 {/if}
53 {if $withtitle}
54 <div class="pages">
55 {if $spool->overview|@count > $msgbypage}
56 {section name=pages loop=$spool->overview step=$msgbypage}
57   {if $first >= $smarty.section.pages.index && $first < $smarty.section.pages.index_next}
58     <strong>{$smarty.section.pages.iteration}</strong>
59   {else}
60     {link group=$group first=$smarty.section.pages.index text=$smarty.section.pages.iteration}
61   {/if}
62 {/section}
63 {/if}
64 </div>
65 {/if}
66
67 {* vim:set et sw=2 sts=2 ts=2 enc=utf-8: *}