X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fprofile%2Fadresses.address.tpl;h=a778d8d6880338934b7288d7c49d33fe6eed52de;hb=2a6cca40fb0afa2a445f2e0c2135b14069676086;hp=5b49c914392eddfb5219f29b12fa8a14598cbd4a;hpb=9a1cb88385e06f1ce1514a367d6b1bbfd3780e44;p=platal.git diff --git a/templates/profile/adresses.address.tpl b/templates/profile/adresses.address.tpl index 5b49c91..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 *} @@ -20,9 +20,6 @@ {* *} {**************************************************************************} -{if $ajaxadr} - -{/if} {assign var=adpref value="addresses[$i]"} {assign var=adid value="addresses_$i"} @@ -53,10 +50,12 @@ -
{include file="include/flags.radio.tpl" name="`$adpref`[pub]" notable=true val=$adr.pub}
+
+ {include file="include/flags.radio.tpl" name="`$adpref`[pub]" val=$adr.pub} +
{include file="geoloc/form.address.tpl" name=$adpref id=$adid adr=$adr}
-
+
@@ -74,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} -
- +