Speed-up
[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">
a0b2e16c 20 {imglink group=$group artid=$spool->nextUnread() img=next_unread alt="Message non-lu suivant"|b accesskey=u}
7027794f 21 </div>
22 {/if}
a0b2e16c 23 {"Date"|b}
7027794f 24 </th>
a0b2e16c 25 <th>{"Sujet"|b}</th>
7027794f 26 <th>
27 {if $protocole->canSend()}
28 <div class="action">
a0b2e16c 29 {imglink group=$group action=new img=post alt="Nouveau message"|b accesskey=p}
e02edbfe 30 {if $feed_active}{imglink group=$group action=$feed_format img=feed alt="Flux"|b accesskey=f}{/if}
7027794f 31 </div>
32 {/if}
a0b2e16c 33 {"Auteur"|b}
7027794f 34 </th>
35 {else}
36 <th colspan="3">
a0b2e16c 37 {"Aperçu de "|b}{link group=$group text=$group}
7027794f 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">
a0b2e16c 46 {"Aucun message dans ce forum"|b}
7027794f 47 </td>
48 </tr>
49 {/if}
50</table>
8bfa4595 51{if $showboxlist}
7027794f 52{include file="banana-boxlist.inc.tpl" grouplist=$groups withstats=true}
8bfa4595 53{/if}
7027794f 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
598a1c53 68{* vim:set et sw=2 sts=2 ts=2 enc=utf-8: *}