X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fprofile%2Fadresses.address.tpl;h=a778d8d6880338934b7288d7c49d33fe6eed52de;hb=bde2be3b1777bf1f66c6d2b2cdecc361d6191911;hp=c0b7287fa9179acb6e1831e1fd80f471dd27cacb;hpb=08fa70684fd1332178cddb6b318151335fb4506c;p=platal.git diff --git a/templates/profile/adresses.address.tpl b/templates/profile/adresses.address.tpl index c0b7287..a778d8d 100644 --- a/templates/profile/adresses.address.tpl +++ b/templates/profile/adresses.address.tpl @@ -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