Prevents minor warnings.
[platal.git] / templates / lists / moderate_mail.tpl
index b8a4cd7..8b8eeae 100644 (file)
@@ -1,6 +1,6 @@
 {**************************************************************************}
 {*                                                                        *}
-{*  Copyright (C) 2003-2010 Polytechnique.org                             *}
+{*  Copyright (C) 2003-2011 Polytechnique.org                             *}
 {*  http://opensource.polytechnique.org/                                  *}
 {*                                                                        *}
 {*  This program is free software; you can redistribute it and/or modify  *}
@@ -35,8 +35,7 @@
       <td>raison (pour les refus)&nbsp;:
         <textarea cols='50' rows='10' name='reason' id='raison'>
 -- 
-{assign var="profile" value=$smarty.session.user->profile()}
-{$smarty.session.prenom} {$smarty.session.nom} ({$profile->promo()})
+{profile user=$smarty.session.user promo=true directory=false link=false sex=false raw=true}
 </textarea>
       </td>
     </tr>