{**************************************************************************} {* *} {* Copyright (C) 2003-2007 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} {* it under the terms of the GNU General Public License as published by *} {* the Free Software Foundation; either version 2 of the License, or *} {* (at your option) any later version. *} {* *} {* This program is distributed in the hope that it will be useful, *} {* but WITHOUT ANY WARRANTY; without even the implied warranty of *} {* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *} {* GNU General Public License for more details. *} {* *} {* You should have received a copy of the GNU General Public License *} {* along with this program; if not, write to the Free Software *} {* Foundation, Inc., *} {* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *} {* *} {**************************************************************************} {foreach key=i item=adr from=$addresses} {assign var=adpref value="addresses[$i]"} {assign var=adid value="addresses_$i"}
{icon name=cross title="Supprimer l'adresse"}
Adresse n°{$i + 1}
{include file="include/flags.radio.tpl" name="$adpref[pub]" notable=true val=$adr.pub}
{include file="geoloc/form.address.tpl" name=$adpref id=$adid adr=$adr}
{/foreach} {* {section name=i loop=$nb_adr start=1 max=$nb_adr} {assign var='adrid' value=$ordre_adrid[i]} {assign var='adr' value=$adresses.$adrid} {include file="geoloc/form.address.tpl" adr=$adr titre=$titre} Adresse: permanente temporaire   ma résidence principale une résidence secondaire   on peut m'y envoyer du courrier par la poste {foreach from=$adr.tels item="tel"} {if $tel.new_tel && !$tel.tel} {/if} {$tel.tel_type} : {if $tel.tel} {icon name=cross title="Supprimer ce tél."} {/if} {include file="include/flags.radio.tpl" name="tel_pub`$tel.telid`[$adrid]" val=$tel.tel_pub display="mini"} {/foreach}   {/section}   *} {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}