6 <table class="cadre_a_onglet" style="width: 100%" cellpadding="0" cellspacing="0">
10 {foreach from=$pages item=pg key=name}
12 <li class="actif">{$pg.text}</li>
13 {assign var=current_page value=$pg}
15 <li>{if $name eq 'subscribe'}{link action=subscribe text=$pg.text}
16 {elseif $name eq 'forums'}{link text=$pg.text}
17 {elseif $name eq 'thread'}{link group=$group text=$group}
18 {elseif $name eq 'message'}{link group=$group artid=$artid text=$pg.text}
19 {else}{link page=$name text=$pg.text}
27 <td class="conteneur_tab banana">
31 {foreach from=$errors item=error}
32 <p class="error">{$error}</p>
35 {foreach from=$actions item=act}
36 <p class="center" style="padding: 0; margin: 0 0 1em 0">{$act.text}</p>
38 {if $page eq 'forums'}
39 {include file="banana-boxlist.inc.tpl" grouplist=$groups withstats=true withfeed=$feed_active}
40 {if $newgroups|@count}
41 <p>{"Les nouveaux groupes suivants ont été créés depuis votre dernière visite"|b}</p>
42 {include file="banana-boxlist.inc.tpl" grouplist=$newgroups withstats=true}
44 {elseif $page eq 'subscribe'}
45 {include file="banana-boxlist.inc.tpl" grouplist=$groups withsubs=true}
46 {elseif $page eq 'thread'}
47 {include file="banana-thread.inc.tpl" withtitle=true}
48 {elseif $page eq 'message'}
49 {include file="banana-message.inc.tpl"}
51 {include file="banana-thread.inc.tpl" withtitle=false}
53 {elseif $page eq 'new'}
54 {include file="banana-newmessage.inc.tpl"}
55 {elseif $page eq 'cancel'}
56 <p class="error">{"Voulez-vous vraiment annuler ce message ?"|b}</p>
57 <form action="{url group=$group artid=$artid action=cancel}" method="post">
59 <input type="submit" name="cancel" value="{"Annuler !"|b}" />
62 {include file="banana-message.inc.tpl" noactions=true}
63 {elseif $current_page.template}
64 {include file=$current_page.template}
75 {* vim:set et sw=2 sts=2 ts=2 enc=utf-8: *}