{**************************************************************************}
{* *}
-{* Copyright (C) 2003-2008 Polytechnique.org *}
+{* Copyright (C) 2003-2009 Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
<input type='text' name='from' size='60' value='{if $smarty.request.from}
{$smarty.request.from}
{else}
-"{$smarty.session.prenom} {$smarty.session.nom_usage|default:$smarty.session.nom}" <{$smarty.session.bestalias}@{#globals.mail.domain#}>
+"{$user->fullName()}" <{$user->bestEmail()}>
{/if}' />
</td>
</tr>