bonjour,
code en vrac, mais celui que j'utilise dans les thèmes :
<{xoInboxCount assign=pmcount}>
<a href="<{xoAppUrl viewpmsg.php}>" title="<{$smarty.const.THEME_MESSAGE}> (<{$pmcount}>)">
<{if $pmcount}>
<!-- if I have messages -->
<img src="<{xoImgUrl icons/footer/mail_warning.png}>" alt="(<{$pmcount}>) <{$smarty.const.THEME_NOTREAD}>"/>(<span class="shadow" style="color:#ff0000; font-weight: bold;"><{$pmcount}></span>)
<{else}>
<!-- if I do not have a message -->
<img src="<{xoImgUrl icons/footer/mail.png}>" alt="<{$smarty.const.THEME_MESSAGE}>"/>
<{/if}>