{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}
- {$message->translateHeaderValue('subject')}
+ {$message->translateHeaderValue('subject')|smarty:nodefaults}
</th>
</tr>
{foreach from=$headers name=headers item=hdr}
<tr class="pair">
<td class="hdr">{$message->translateHeaderName($hdr)}</td>
- <td>{$message->translateHeaderValue($hdr)}</td>
+ <td>{$message->translateHeaderValue($hdr)|smarty:nodefaults}</td>
{if $smarty.foreach.headers.first}
<td class="xface" rowspan="{$headers|@count}">
{if $message->hasXFace()}
<td class="hdr">Fichiers joints</td>
<td colspan="2">
{foreach from=$files item=file name=attachs}
- {$file->getFilename()|htmlentities}
- {imglink img=save alt="Enregistrer" group=$group artid=$artid part=$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>
+ {/if}
+ {assign var=alter value=$message->getAlternatives()}
+ {if $alter|@count}
+ <tr class="pair">
+ <td class="hdr">{"Versions"|b}</td>
+ <td colspan="2">
+ {foreach from=$alter key=ctype item=text name=alter}
+ {if $type eq $ctype}
+ {$text}
+ {if $extimages}[{link group=$group artid=$artid part=$type action=showext text="Afficher les images externes"|b}]{/if}
+ {else}
+ {link group=$group artid=$artid part=$ctype text=$text}
+ {/if}
+ {if !$smarty.foreach.alter.last} • {/if}
{/foreach}
</td>
</tr>
{/if}
<tr>
<td colspan="3" class="body">
- {$message->getFormattedBody()}
+ {$body|banana_utf8entities|smarty:nodefaults}
</td>
</tr>
</table>
-{* vim:set et sw=2 sts=2 ts=2: *}
+{* vim:set et sw=2 sts=2 ts=2 enc=utf-8: *}