Remove double "account/types" link from admin index
[platal.git] / templates / lists / moderate_mail.tpl
index 3e85026..526cf88 100644 (file)
@@ -1,6 +1,6 @@
 {**************************************************************************}
 {*                                                                        *}
-{*  Copyright (C) 2003-2009 Polytechnique.org                             *}
+{*  Copyright (C) 2003-2010 Polytechnique.org                             *}
 {*  http://opensource.polytechnique.org/                                  *}
 {*                                                                        *}
 {*  This program is free software; you can redistribute it and/or modify  *}
@@ -35,7 +35,8 @@
       <td>raison (pour les refus)&nbsp;:
         <textarea cols='50' rows='10' name='reason' id='raison'>
 -- 
-{$smarty.session.prenom} {$smarty.session.nom} (X{$smarty.session.promo})
+{assign var="profile" value=$smarty.session.user->profile()}
+{$smarty.session.prenom} {$smarty.session.nom} ({$profile->promo()})
 </textarea>
       </td>
     </tr>