Adapts Xorg MLs and aliases handling to new mail chain.
[platal.git] / templates / xnetgrp / annuaire.tpl
index 7da8c93..54bcd53 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  *}
@@ -110,9 +110,9 @@ Le groupe {$asso->nom} compte {$nb_tot} membres :
       {profile user=$user promo=false}
     </td>
     <td>
-      {if $user->group_perms eq 'admin' && $user->promo()}<strong>{/if}
-      {$user->promo()}
-      {if $user->group_perms eq 'admin' && $user->promo()}</strong>{/if}
+      {if $user->group_perms eq 'admin' && $user->category()}<strong>{/if}
+      {$user->category()|default:"Extérieur"}
+      {if $user->group_perms eq 'admin' && $user->category()}</strong>{/if}
     </td>
     {if $user->group_comm}
     <td>{$user->group_comm}</td>