{* *}
{* *}
+{if $withtabs}
<table class="cadre_a_onglet" style="width: 100%" cellpadding="0" cellspacing="0">
<tr>
<td>
</tr>
<tr>
<td class="conteneur_tab banana">
+{else}
+<div class="banana">
+{/if}
{foreach from=$errors item=error}
- <p class="error">{$error}</p>
+ <p class="error">{$error|smarty:nodefaults}</p>
{/foreach}
{if !$killed}
{foreach from=$actions item=act}
- <p class="center" style="padding: 0; margin: 0 0 1em 0">{$act.text}</p>
+ <p class="center" style="padding: 0; margin: 0 0 1em 0">{$act.text|smarty:nodefaults}</p>
{/foreach}
{if $page eq 'forums'}
- {include file="banana-boxlist.inc.tpl" grouplist=$groups withstats=true}
+ {include file="banana-boxlist.inc.tpl" grouplist=$groups withstats=true withfeed=$feed_active withsubs=false}
{if $newgroups|@count}
- <p>Les nouveaux groupes suivants ont été créés depuis votre dernière visite</p>
- {include file="banana-boxlist.inc.tpl" grouplist=$newgroups withstats=true}
+ <p>{"Les nouveaux groupes suivants ont été créés depuis votre dernière visite"|b}</p>
+ {include file="banana-boxlist.inc.tpl" grouplist=$newgroups withstats=true withsubs=false withfeed=false}
{/if}
{elseif $page eq 'subscribe'}
- {include file="banana-boxlist.inc.tpl" grouplist=$groups withsubs=true}
+ {include file="banana-boxlist.inc.tpl" grouplist=$groups withsubs=true withfeed=false withstats=false}
{elseif $page eq 'thread'}
{include file="banana-thread.inc.tpl" withtitle=true}
{elseif $page eq 'message'}
{include file="banana-message.inc.tpl"}
+ {if $showthread}
+ <br />
{include file="banana-thread.inc.tpl" withtitle=false}
+ {/if}
{elseif $page eq 'new'}
{include file="banana-newmessage.inc.tpl"}
{elseif $page eq 'cancel'}
- <p class="error">Voulez-vous vraiment annuler ce message ?</p>
+ <p class="error">{"Voulez-vous vraiment annuler ce message ?"|b}</p>
<form action="{url group=$group artid=$artid action=cancel}" method="post">
<p class="center">
- <input type="submit" name="cancel" value="Annuler !" />
+ <input type="submit" name="cancel" value="{"Annuler !"|b}" />
</p>
</form>
{include file="banana-message.inc.tpl" noactions=true}
{include file=$current_page.template}
{/if}
{/if}
+{if $withtabs}
</td>
</tr>
</table>
+{else}
+</div>
+{/if}
{* vim:set et sw=2 sts=2 ts=2 enc=utf-8: *}