{**************************************************************************} {* *} {* Copyright (C) 2003-2006 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 *} {* *} {**************************************************************************}
{section name=i loop=$nb_adr start=1 max=$nb_adr} {* $adrid = $ordre_adrid[$i]; $adr = &$adresses[$adrid]; *} {assign var='adrid' value=$ordre_adrid[i]} {assign var='adr' value=$adresses.$adrid} {include file="include/flags.radio.tpl" name="pub[$adrid]" val=$adr.pub} {if $adr.nouvelle != 'new'} {assign var="titre" value="Adresse n°`$smarty.section.i.index` :"} {else} {assign var="titre" value="Nouvelle adresse :"} {/if} {include file="geoloc/form.address.tpl" adr=$adr titre=$titre} {foreach from=$adr.tels item="tel"} {include file="include/flags.radio.tpl" name="tel_pub`$tel.telid`[$adrid]" val=$tel.tel_pub display="mini"} {/foreach} {/section}
Adresses personnelles
{if $adr.nouvelle != 'new'}Adresse n°{$smarty.section.i.index}{else}Rentre ici une nouvelle adresse{/if} {if $adr.nouvelle == 'new'} {else} {/if} {if $adr.nouvelle != 'new'} [La supprimer !] {/if}
  c'est à cette adresse que je suis actuellement
Adresse: permanente temporaire
  ma résidence principale une résidence secondaire
  on peut m'y envoyer du courrier par la poste
{if $tel.new_tel} {/if} {$tel.tel_type} :
 
 
{* vim:set et sw=2 sts=2 sws=2: *}