]> git.sur5r.net Git - contagged/blob - templates/entry_vcf.tpl
hide counter reset
[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 {if $entry.organisation or $entry.office}ORG;ENCODING=QUOTED-PRINTABLE:{$entry.organisation|escape:qp};{$entry.office|escape:qp}
6 {/if}
7 {if $entry.note}NOTE;ENCODING=QUOTED-PRINTABLE:{$entry.note|escape:qp}
8 {/if}
9 {if $entry.phone}TEL;WORK;VOICE;ENCODING=QUOTED-PRINTABLE:{$entry.phone|escape:qp}
10 {/if}
11 {if $entry.homephone}TEL;HOME;VOICE;ENCODING=QUOTED-PRINTABLE:{$entry.homephone|escape:qp}
12 {/if}
13 {if $entry.mobile}TEL;CELL;VOICE;ENCODING=QUOTED-PRINTABLE:{$entry.mobile|escape:qp}
14 {/if}
15 {if $entry.fax}TEL;WORK;FAX;ENCODING=QUOTED-PRINTABLE:{$entry.fax|escape:qp}
16 {/if}
17 {if $entry.pager}TEL;WORK;PAGER;ENCODING=QUOTED-PRINTABLE:{$entry.pager|escape:qp}
18 {/if}
19 {foreach from=$entry.mail item=mail}
20 EMAIL;INTERNET:{$mail}
21 {/foreach}
22 {if $entry.street or $entry.locatin or $entry.plz or $entry.country}ADR;WORK;ENCODING=QUOTED-PRINTABLE:;;{$entry.street|escape:qp};{$entry.location|escape:qp};;{$entry.plz|escape:qp};{$entry.country|escape:qp}
23 {/if}
24 {if $entry.homestreet}ADR;HOME;ENCODING=QUOTED-PRINTABLE:;;{$entry.homestreet|escape:qp}
25 {/if}
26 {if $entry.url}URL;WORK:{$entry.url}
27 {/if}
28 {if $entry.birthday}BDAY:{$entry.birthday}
29 {/if}
30 END:VCARD