X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fcore%2Fvcard.tpl;h=e4edd052474b73f0af179b48817f8b37882a3a54;hb=853ff307303faf861396c4e22dbaa56114366751;hp=fd0f95b724588735fcd7d7dd113e36a9eea7de66;hpb=40214aa65f590952c7bb2a586d6d0a9446b3c0e7;p=platal.git diff --git a/templates/core/vcard.tpl b/templates/core/vcard.tpl index fd0f95b..e4edd05 100644 --- a/templates/core/vcard.tpl +++ b/templates/core/vcard.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2009 Polytechnique.org *} +{* Copyright (C) 2003-2010 Polytechnique.org *} {* 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 $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} @@ -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 $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]} @@ -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} -{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}