X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fprofile%2Fadresses.address.tpl;h=118b56a9aa8ec24264ccbdd9027d6d4e05ac85a7;hb=9891bd15f772caef0c199a98f036e976bf4ab94a;hp=09d13b0dc9b8058470bda286f434d29c56cc67a3;hpb=323463709c49b751827ffecc4372fa52d430574f;p=platal.git diff --git a/templates/profile/adresses.address.tpl b/templates/profile/adresses.address.tpl index 09d13b0..118b56a 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-2009 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,7 +50,9 @@ -
{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} -
- +
+ {icon name=add title="Ajouter un numéro de téléphone"} Ajouter un numéro de téléphone