]> git.sur5r.net Git - contagged/blob - templates/entry_vcf.tpl
Merge pull request #15 from cweiske/master
[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 TEL;HOME;VOICE;ENCODING=QUOTED-PRINTABLE:{$entry.homephone|escape:qp}
9 TEL;CELL;VOICE;ENCODING=QUOTED-PRINTABLE:{$entry.mobile|escape:qp}
10 TEL;WORK;FAX;ENCODING=QUOTED-PRINTABLE:{$entry.fax|escape:qp}
11 TEL;WORK;PAGER;ENCODING=QUOTED-PRINTABLE:{$entry.pager|escape:qp}
12 {foreach from=$entry.mail item=mail}
13 EMAIL;INTERNET:{$mail}
14 {/foreach}
15 ADR;WORK;ENCODING=QUOTED-PRINTABLE:;;{$entry.street|escape:qp};{$entry.location|escape:qp};;{$entry.plz|escape:qp};{$entry.country|escape:qp}
16 ADR;HOME;ENCODING=QUOTED-PRINTABLE:;;{$entry.homestreet|escape:qp}
17 URL;WORK:{$entry.url}
18 BDAY:{$entry.birthday}
19 END:VCARD