projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Align wikitext
[platal.git]
/
templates
/
vcard.tpl
diff --git
a/templates/vcard.tpl
b/templates/vcard.tpl
index
3350703
..
930367a
100644
(file)
--- a/
templates/vcard.tpl
+++ b/
templates/vcard.tpl
@@
-66,7
+66,11
@@
ADR;TYPE=home{if $adr.courier},postal{/if};ENCODING=QUOTED-PRINTABLE:{format_adr
{if $vcard.web}
URL;ENCODING=QUOTED-PRINTABLE:{$vcard.web|qp_enc}
{/if}
{if $vcard.web}
URL;ENCODING=QUOTED-PRINTABLE:{$vcard.web|qp_enc}
{/if}
+{if strlen(trim($vcard.libre)) == 0}
+NOTE;ENCODING=QUOTED-PRINTABLE:{"(X`$vcard.promo`)"|qp_enc}
+{else}
NOTE;ENCODING=QUOTED-PRINTABLE:{"(X`$vcard.promo`)\n`$vcard.libre`"|qp_enc}
NOTE;ENCODING=QUOTED-PRINTABLE:{"(X`$vcard.promo`)\n`$vcard.libre`"|qp_enc}
+{/if}
SORT-STRING;ENCODING=QUOTED-PRINTABLE:{$vcard.nom|qp_enc}
REV:{$vcard.date|date_format:"%Y%m%dT000000Z"}
END:VCARD
SORT-STRING;ENCODING=QUOTED-PRINTABLE:{$vcard.nom|qp_enc}
REV:{$vcard.date|date_format:"%Y%m%dT000000Z"}
END:VCARD