X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fcore%2Fvcard.tpl;h=1304624bc0270208f3bd890749b1f00dcb2803a9;hb=d645ceb701b0e8aa1de2e5271bed35e56ef169f1;hp=0d9cab576545931e071e0e07ca005e3538f1d8f9;hpb=1760b3f7f98eabdd4506211ce17be472734e6192;p=platal.git diff --git a/templates/core/vcard.tpl b/templates/core/vcard.tpl index 0d9cab5..1304624 100644 --- a/templates/core/vcard.tpl +++ b/templates/core/vcard.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2008 Polytechnique.org *} +{* Copyright (C) 2003-2011 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}