]> git.sur5r.net Git - contagged/blobdiff - templates/entry_vcf.tpl
Make homephone multivalue aware
[contagged] / templates / entry_vcf.tpl
index 2555416db429ce5279485c652909ccc71e2c2746..5ce4e5c8f2d3a946f69d9975b5d93b6c7682e839 100644 (file)
@@ -5,14 +5,16 @@ FN:{$entry.givenname} {$entry.name}
 ORG;ENCODING=QUOTED-PRINTABLE:{$entry.organisation|escape:qp};{$entry.office|escape:qp}
 NOTE;ENCODING=QUOTED-PRINTABLE:{$entry.note|escape:qp}
 TEL;WORK;VOICE;ENCODING=QUOTED-PRINTABLE:{$entry.phone|escape:qp}
-TEL;HOME;VOICE;ENCODING=QUOTED-PRINTABLE:{$entry.homephone|escape:qp}
+{foreach from=$entry.homephone item=homephone}
+TEL;HOME;VOICE;ENCODING=QUOTED-PRINTABLE:{$homephone|escape:qp}
+{/foreach}
 TEL;CELL;VOICE;ENCODING=QUOTED-PRINTABLE:{$entry.mobile|escape:qp}
 TEL;WORK;FAX;ENCODING=QUOTED-PRINTABLE:{$entry.fax|escape:qp}
 TEL;WORK;PAGER;ENCODING=QUOTED-PRINTABLE:{$entry.pager|escape:qp}
 {foreach from=$entry.mail item=mail}
 EMAIL;INTERNET:{$mail}
 {/foreach}
-ADR;WORK;ENCODING=QUOTED-PRINTABLE:;;{$entry.street|escape:qp};{$entry.location|escape:qp};;{$entry.plz|escape:qp};
+ADR;WORK;ENCODING=QUOTED-PRINTABLE:;;{$entry.street|escape:qp};{$entry.location|escape:qp};;{$entry.plz|escape:qp};{$entry.country|escape:qp}
 ADR;HOME;ENCODING=QUOTED-PRINTABLE:;;{$entry.homestreet|escape:qp}
 URL;WORK:{$entry.url}
 BDAY:{$entry.birthday}