X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fprofile%2Fadresses.address.tpl;h=a778d8d6880338934b7288d7c49d33fe6eed52de;hb=2a6cca40fb0afa2a445f2e0c2135b14069676086;hp=36d9672b1c4930c0aa3308f25ae86d92ddfb11bd;hpb=ee12da4e14360ccd4fd9f7852570c5511c6fc568;p=platal.git diff --git a/templates/profile/adresses.address.tpl b/templates/profile/adresses.address.tpl index 36d9672..a778d8d 100644 --- a/templates/profile/adresses.address.tpl +++ b/templates/profile/adresses.address.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2007 Polytechnique.org *} +{* Copyright (C) 2003-2008 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -73,23 +73,27 @@ {if $adr.mail}checked="checked"{/if} /> +
+ + +
{foreach from=$adr.tel key=t item=tel} -
- {include file="profile/adresses.tel.tpl" t=$t tel=$tel} -
+
+ {include file="profile/phone.tpl" prefname="`$adpref`[tel]" prefid="`$adid`_tel" telid=$t tel=$tel} +
{/foreach} {if $adr.tel|@count eq 0} -
- {include file="profile/adresses.tel.tpl" t=0 tel=0} -
+
+ {include file="profile/phone.tpl" prefname="`$adpref`[tel]" prefid="`$adid`_tel" telid=0 tel=0} +
{/if} -
- +
+ {icon name=add title="Ajouter un numéro de téléphone"} Ajouter un numéro de téléphone