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