X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;ds=sidebyside;f=templates%2Fprofile%2Fadresses.address.tpl;h=ecd7128db91f8a5a13c7846c8398f8278892f5f4;hb=c76545c351fae4e2298624ff9ee5bf854dc5a5b6;hp=c30aac96aa1eb0f26335ff16aff3022e4db18fda;hpb=93d42b4fcc6f055a428c9b63e386ac62c918d08a;p=platal.git
diff --git a/templates/profile/adresses.address.tpl b/templates/profile/adresses.address.tpl
index c30aac9..ecd7128 100644
--- a/templates/profile/adresses.address.tpl
+++ b/templates/profile/adresses.address.tpl
@@ -26,7 +26,7 @@
Restaurer l'adresse n°{$i+1}
|
@@ -43,7 +43,7 @@
@@ -102,19 +102,19 @@
- {foreach from=$address.tel key=t item=tel}
+ {foreach from=$address.phones key=t item=tel}
- {include file="profile/phone.tpl" prefname="`$prefname`[tel]"
+ {include file="profile/phone.tpl" prefname="`$prefname`[phones]"
prefid="`$prefid`_tel" telid=$t tel=$tel}
{/foreach}
- {if $address.tel|@count eq 0}
+ {if $address.phones|@count eq 0}
- {include file="profile/phone.tpl" prefname="`$prefname`[tel]" prefid="`$prefid`_tel" telid=0 tel=0}
+ {include file="profile/phone.tpl" prefname="`$prefname`[phones]" prefid="`$prefid`_tel" telid=0 tel=0}
{/if}
|