]> git.sur5r.net Git - contagged/blob - templates/entry_vcf.tpl
5ce4e5c8f2d3a946f69d9975b5d93b6c7682e839
[contagged] / templates / entry_vcf.tpl
1 BEGIN:VCARD
2 VERSION:2.1
3 N:{$entry.name};{$entry.givenname};;{$entry.title}
4 FN:{$entry.givenname} {$entry.name}
5 ORG;ENCODING=QUOTED-PRINTABLE:{$entry.organisation|escape:qp};{$entry.office|escape:qp}
6 NOTE;ENCODING=QUOTED-PRINTABLE:{$entry.note|escape:qp}
7 TEL;WORK;VOICE;ENCODING=QUOTED-PRINTABLE:{$entry.phone|escape:qp}
8 {foreach from=$entry.homephone item=homephone}
9 TEL;HOME;VOICE;ENCODING=QUOTED-PRINTABLE:{$homephone|escape:qp}
10 {/foreach}
11 TEL;CELL;VOICE;ENCODING=QUOTED-PRINTABLE:{$entry.mobile|escape:qp}
12 TEL;WORK;FAX;ENCODING=QUOTED-PRINTABLE:{$entry.fax|escape:qp}
13 TEL;WORK;PAGER;ENCODING=QUOTED-PRINTABLE:{$entry.pager|escape:qp}
14 {foreach from=$entry.mail item=mail}
15 EMAIL;INTERNET:{$mail}
16 {/foreach}
17 ADR;WORK;ENCODING=QUOTED-PRINTABLE:;;{$entry.street|escape:qp};{$entry.location|escape:qp};;{$entry.plz|escape:qp};{$entry.country|escape:qp}
18 ADR;HOME;ENCODING=QUOTED-PRINTABLE:;;{$entry.homestreet|escape:qp}
19 URL;WORK:{$entry.url}
20 BDAY:{$entry.birthday}
21 END:VCARD