{**************************************************************************}
{* *}
-{* Copyright (C) 2003-2006 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="submit" name="action" value="add" />
</td>
</tr>
- {iterate item=a from=$admins}
+ {foreach item=a from=$admins}
<tr class="{cycle values="impair, pair"}">
- <td><a href="profile/{$a.forlife}" class="popup2">{$a.prenom} {$a.nom} (X{$a.promo}){icon name=user_suit}</a></td>
- <td class="right"><a href="admin/axletter/del/{$a.forlife}?token={xsrf_token}">{icon name=cross title="Retirer"}</a></td>
+ <td>{profile user=$a promo=true}</td>
+ <td class="right"><a href="admin/axletter/del/{$a->login()}?token={xsrf_token}">{icon name=cross title="Retirer"}</a></td>
</tr>
- {/iterate}
+ {/foreach}
</table>
</form>