X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fxnetgrp%2Fannuaire-csv.tpl;h=75a8c8b3900d7af881ce10f0d18eca5b08f863b0;hb=69f43a7b7ea47cb56ffdc66da4ae526f83462f79;hp=62b92700e7023bae7832842d25cbcd85d582a378;hpb=3f95a7bd17cd6cd7b218f12787276a485f496f1d;p=platal.git diff --git a/templates/xnetgrp/annuaire-csv.tpl b/templates/xnetgrp/annuaire-csv.tpl index 62b9270..75a8c8b 100644 --- a/templates/xnetgrp/annuaire-csv.tpl +++ b/templates/xnetgrp/annuaire-csv.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2009 Polytechnique.org *} +{* Copyright (C) 2003-2011 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software, you can redistribute it and/or modify *} @@ -19,11 +19,11 @@ {* 59 Temple Place, Suite 330; Boston, MA 02111-1307 USA *} {* *} {**************************************************************************} -Nom,Prénom,Sexe,Promotion,Email,Commentaire +Nom,Prénom,Sexe,Promotion,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->group_comm|replace:',':'\,'} {/foreach} {/if}