Fix warnings
[banana.git] / banana / templates / banana-thread.inc.tpl
CommitLineData
7027794f 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" accesskey=u}
21 </div>
22 {/if}
23 Date
24 </th>
25 <th>Sujet</th>
26 <th>
27 {if $protocole->canSend()}
28 <div class="action">
29 {imglink group=$group action=new img=post alt="Nouveau message" accesskey=p}
30 </div>
31 {/if}
32 Auteur
33 </th>
34 {else}
35 <th colspan="3">
36 {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
46 </td>
47 </tr>
48 {/if}
49</table>
50{include file="banana-boxlist.inc.tpl" grouplist=$groups withstats=true}
51{if $withtitle}
52<div class="pages">
53{if $spool->overview|@count > $msgbypage}
54{section name=pages loop=$spool->overview step=$msgbypage}
55 {if $first >= $smarty.section.pages.index && $first < $smarty.section.pages.index_next}
56 <strong>{$smarty.section.pages.iteration}</strong>
57 {else}
58 {link group=$group first=$smarty.section.pages.index text=$smarty.section.pages.iteration}
59 {/if}
60{/section}
61{/if}
62</div>
63{/if}
64
598a1c53 65{* vim:set et sw=2 sts=2 ts=2 enc=utf-8: *}