From: Stéphane Jacob Date: Mon, 30 Aug 2010 16:43:15 +0000 (+0200) Subject: Displays last and first names in the order announced on the top line in directory... X-Git-Tag: xorg/1.0.1~15^2~13 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=30eab1d22a18c2fcb2702afd4c007034179f8cfe;p=platal.git Displays last and first names in the order announced on the top line in directory csv. Signed-off-by: Stéphane Jacob --- diff --git a/templates/xnetgrp/annuaire-csv.tpl b/templates/xnetgrp/annuaire-csv.tpl index ebb9390..006b3c0 100644 --- a/templates/xnetgrp/annuaire-csv.tpl +++ b/templates/xnetgrp/annuaire-csv.tpl @@ -23,7 +23,7 @@ Nom,Prénom,Sexe,Promotion,Email,Commentaire {if $users|@count} {foreach from=$users item=user} -{$user->firstName()},{$user->lastName()},{if $user->isFemale()}F{else}M{/if},{$user->promo()},{$user->forlifeEmail()},{$user->group_comm|replace:',':'\,'} +{$user->lastName()},{$user->firstName()},{if $user->isFemale()}F{else}M{/if},{$user->promo()},{$user->forlifeEmail()},{$user->group_comm|replace:',':'\,'} {/foreach} {/if}