{**************************************************************************}
{* *}
-{* Copyright (C) 2003-2006 Polytechnique.org *}
+{* Copyright (C) 2003-2007 Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
{* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *}
{* *}
{**************************************************************************}
-{foreach from="$users" item=vcard}
+{iterate from=$users item=vcard}
BEGIN:VCARD
VERSION:3.0
{if $vcard.nom_usage}
X-GROUPS:{$vcard.gpxs_vcardjoin}
{/if}
{if $vcard.photo}
-PHOTO;ENCODING=b;TYPE={$vcard.photo.attachmime}:{$vcard.photo.attach|base64_encode}
+PHOTO;ENCODING=b;TYPE={$vcard.photo.attachmime}:{$vcard.photo.attach|base64_encode|vcard_enc}
{/if}
SORT-STRING:{$vcard.nom|vcard_enc}
REV:{$vcard.date|date_format:"%Y%m%dT000000Z"}
END:VCARD{"\n"}
-{/foreach}
-{* vim:set et sw=2 sts=2 sws=2: *}
+{/iterate}
+{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}