$this->register_function('link', array($this, 'makeLink'));
$this->register_function('imglink', array($this, 'makeImgLink'));
$this->register_function('img', array($this, 'makeImg'));
+ $this->register_modifier('b', '_b_');
$this->assign('errors', $this->error);
$this->assign('page', $this->page);
{if $page eq 'forums'}
{include file="banana-boxlist.inc.tpl" grouplist=$groups withstats=true}
{if $newgroups|@count}
- <p>Les nouveaux groupes suivants ont été créés depuis votre dernière visite</p>
+ <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}
{/if}
{elseif $page eq 'subscribe'}
{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}
{if $withsubs}
<form action="{url action=subscribe}" method="post">
<p style="text-align: center">
- <input type="submit" name="validsubs" value="Valider" />
+ <input type="submit" name="validsubs" value="{"Valider"|b}" />
</p>
{/if}
<table class="bicol">
<th></th>
{/if}
{if $withstats}
- <th>Total</th>
- <th>Nouveaux</th>
+ <th>{"Total"|b}</th>
+ <th>{"Nouveaux"|b}</th>
{/if}
- <th>Nom</th>
- <th>Description</th>
+ <th>{"Nom"|b}</th>
+ <th>{"Description"|b}</th>
</tr>
{foreach from=$groups key=name item=grp}
<tr class="{cycle values="impair,pair"}">
</table>
{if $withsubs}
<p style="text-align: center">
- <input type="submit" name="validsubs" value="Valider" />
+ <input type="submit" name="validsubs" value="{"Valider"|b}" />
</p>
</form>
{/if}
{if !$noactions}
<div class="menu">
{if $spool->nextUnread($artid)}
- {imglink group=$group artid=$spool->nextUnread($artid) img=next_unread alt="Message non-lu suivant" accesskey=u}{/if}
+ {imglink group=$group artid=$spool->nextUnread($artid) img=next_unread alt="Message non-lu suivant"|b accesskey=u}{/if}
{if $spool->prevPost($artid)}
- {imglink group=$group artid=$spool->prevPost($artid) img=prev alt="Message précédent" accesskey=a}{/if}
+ {imglink group=$group artid=$spool->prevPost($artid) img=prev alt="Message précédent"|b accesskey=a}{/if}
{if $spool->nextPost($artid)}
- {imglink group=$group artid=$spool->nextPost($artid) img=next alt="Message suivant" accesskey=z}{/if}
+ {imglink group=$group artid=$spool->nextPost($artid) img=next alt="Message suivant"|b accesskey=z}{/if}
{if $spool->prevThread($artid)}
- {imglink group=$group artid=$spool->prevThread($artid) img=prev_thread alt="Discussion précédente" accesskey=q}{/if}
+ {imglink group=$group artid=$spool->prevThread($artid) img=prev_thread alt="Discussion précédente"|b accesskey=q}{/if}
{if $spool->nextThread($artid)}
- {imglink group=$group artid=$spool->nextThread($artid) img=next_thread alt="Discussion suivante" accesskey=s}{/if}
+ {imglink group=$group artid=$spool->nextThread($artid) img=next_thread alt="Discussion suivante"|b accesskey=s}{/if}
</div>
<div class="action">
{if $message->canSend()}
- {imglink group=$group action="new" img=post alt="Nouveau messasge" accesskey=p}
- {imglink group=$group artid=$artid action="new" img=reply alt="Répondre" accesskey=r}
+ {imglink group=$group action="new" img=post alt="Nouveau message"|b accesskey=p}
+ {imglink group=$group artid=$artid action="new" img=reply alt="Répondre"|b accesskey=r}
{/if}
{if $message->canCancel()}
- {imglink group=$group artid=$artid action="cancel" img=cancel alt="Annuler" accesskey=c}
+ {imglink group=$group artid=$artid action="cancel" img=cancel alt="Annuler"|b accesskey=c}
{/if}
</div>
{/if}
<td class="hdr">Fichiers joints</td>
<td colspan="2">
{foreach from=$files item=file name=attachs}
- {imglink img=save alt="Enregistrer" group=$group artid=$artid part=$file->getFilename() text=$file->getFilename()}{if !$smarty.foreach.attachs.last}, {/if}
+ {imglink img=save alt="Enregistrer"|b group=$group artid=$artid part=$file->getFilename() text=$file->getFilename()}{if !$smarty.foreach.attachs.last}, {/if}
{/foreach}
</td>
</tr>
<form {if $can_attach}enctype="multipart/form-data"{/if} action="{url group=$group artid=$artid action=new}" method="post" accept-charset="utf-8">
<table class="bicol">
<tr>
- <th colspan="2">Composer un nouveau message</th>
+ <th colspan="2">{"Composer un nouveau message"|b}</th>
</tr>
{foreach from=$headers key=header item=values}
<tr>
</tr>
{if $can_attach}
<tr class="pair">
- <td>Fichier joint</td>
+ <td>{"Fichier joint"|b}</td>
<td>
{if $maxfilesize}
<input type="hidden" name="MAX_FILE_SIZE" value="{$maxfilesize}" />
{/if}
<tr class="pair">
<td colspan="2" class="center">
- <input type="submit" name="sendmessage" value="Envoyer le message" />
+ <input type="submit" name="sendmessage" value="{"Envoyer le message"|b}" />
</td>
</tr>
</table>
<th>
{if $spool->nextUnread()}
<div class="menu">
- {imglink group=$group artid=$spool->nextUnread() img=next_unread alt="Message non-lu suivant" accesskey=u}
+ {imglink group=$group artid=$spool->nextUnread() img=next_unread alt="Message non-lu suivant"|b accesskey=u}
</div>
{/if}
- Date
+ {"Date"|b}
</th>
- <th>Sujet</th>
+ <th>{"Sujet"|b}</th>
<th>
{if $protocole->canSend()}
<div class="action">
- {imglink group=$group action=new img=post alt="Nouveau message" accesskey=p}
+ {imglink group=$group action=new img=post alt="Nouveau message"|b accesskey=p}
</div>
{/if}
- Auteur
+ {"Auteur"|b}
</th>
{else}
<th colspan="3">
- {link group=$group text=$group}
+ {"Aperçu de "|b}{link group=$group text=$group}
</th>
{/if}
</tr>
{else}
<tr>
<td colspan="3">
- Aucun message dans ce forum
+ {"Aucun message dans ce forum"|b}
</td>
</tr>
{/if}