projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add the list of the groups of the user and the lists of the mailing lists
[platal.git]
/
templates
/
core
/
vcard.tpl
diff --git
a/templates/core/vcard.tpl
b/templates/core/vcard.tpl
index
0d9cab5
..
e4edd05
100644
(file)
--- a/
templates/core/vcard.tpl
+++ b/
templates/core/vcard.tpl
@@
-1,6
+1,6
@@
{**************************************************************************}
{* *}
{**************************************************************************}
{* *}
-{* Copyright (C) 2003-20
08
Polytechnique.org *}
+{* Copyright (C) 2003-20
10
Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
@@
-42,7
+42,7
@@
EMAIL;TYPE=internet:{$vcard.virtualalias}
{/if}
{if $vcard.tels}
{foreach item=tel from=$vcard.tels}
{/if}
{if $vcard.tels}
{foreach item=tel from=$vcard.tels}
-{if $tel.tel_type eq 'mobile'}TEL;TYPE=cell{else}{if $tel.tel_type eq 'fax'}FAX{else}TEL{/if};TYPE=home{/if}:{$tel.
tel
|vcard_enc}
+{if $tel.tel_type eq 'mobile'}TEL;TYPE=cell{else}{if $tel.tel_type eq 'fax'}FAX{else}TEL{/if};TYPE=home{/if}:{$tel.
display
|vcard_enc}
{/foreach}
{/if}
{if $vcard.adr_pro}
{/foreach}
{/if}
{if $vcard.adr_pro}
@@
-57,7
+57,7
@@
ROLE:{$vcard.adr_pro[0].fonction|vcard_enc}
{/if}
{if $vcard.adr_pro[0].tels}
{foreach item=tel from=$vcard.adr_pro[0].tels}
{/if}
{if $vcard.adr_pro[0].tels}
{foreach item=tel from=$vcard.adr_pro[0].tels}
-{if $tel.tel_type eq 'mobile'}TEL;TYPE=cell,work{else}{if $tel.tel_type eq 'fax'}FAX{else}TEL{/if};TYPE=work{/if}:{$tel.
tel
|vcard_enc}
+{if $tel.tel_type eq 'mobile'}TEL;TYPE=cell,work{else}{if $tel.tel_type eq 'fax'}FAX{else}TEL{/if};TYPE=work{/if}:{$tel.
display
|vcard_enc}
{/foreach}
{/if}
ADR;TYPE=work:{format_adr adr=$vcard.adr_pro[0]}
{/foreach}
{/if}
ADR;TYPE=work:{format_adr adr=$vcard.adr_pro[0]}
@@
-66,7
+66,7
@@
ADR;TYPE=work:{format_adr adr=$vcard.adr_pro[0]}
ADR;TYPE=home{if $adr.courier},postal{/if}:{format_adr adr=$adr}
{if $adr.tels}
{foreach item=tel from=$adr.tels}
ADR;TYPE=home{if $adr.courier},postal{/if}:{format_adr adr=$adr}
{if $adr.tels}
{foreach item=tel from=$adr.tels}
-{if $tel.tel_type eq 'mobile'}TEL;TYPE=cell,home{else}{if $tel.tel_type eq 'fax'}FAX{else}TEL{/if};TYPE=home{/if}:{$tel.
tel
|vcard_enc}
+{if $tel.tel_type eq 'mobile'}TEL;TYPE=cell,home{else}{if $tel.tel_type eq 'fax'}FAX{else}TEL{/if};TYPE=home{/if}:{$tel.
display
|vcard_enc}
{/foreach}
{/if}
{/foreach}
{/foreach}
{/if}
{/foreach}