X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fprofile%2Fadresses.address.tpl;h=a778d8d6880338934b7288d7c49d33fe6eed52de;hb=f4035298fd421e87b9a58f6a801b53da348613de;hp=1ae3caa6169120bc0ab2d20fd0c7fb0d71fd06d5;hpb=2dcac0f527e8207d754af8974d81b2bce3f433d9;p=platal.git diff --git a/templates/profile/adresses.address.tpl b/templates/profile/adresses.address.tpl index 1ae3caa..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"} @@ -54,7 +51,7 @@
- {include file="include/flags.radio.tpl" name="`$adpref`[pub]" notable=true val=$adr.pub display="div"} + {include file="include/flags.radio.tpl" name="`$adpref`[pub]" val=$adr.pub}
{include file="geoloc/form.address.tpl" name=$adpref id=$adid adr=$adr}
@@ -76,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