1 {**************************************************************************}
3 {* Copyright (C) 2003-2009 Polytechnique.org *}
4 {* http://opensource.polytechnique.org/ *}
6 {* This program is free software; you can redistribute it and/or modify *}
7 {* it under the terms of the GNU General Public License as published by *}
8 {* the Free Software Foundation; either version 2 of the License, or *}
9 {* (at your option) any later version. *}
11 {* This program is distributed in the hope that it will be useful, *}
12 {* but WITHOUT ANY WARRANTY; without even the implied warranty of *}
13 {* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *}
14 {* GNU General Public License for more details. *}
16 {* You should have received a copy of the GNU General Public License *}
17 {* along with this program; if not, write to the Free Software *}
18 {* Foundation, Inc., *}
19 {* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *}
21 {**************************************************************************}
24 <div class="erreur {$prefid}_geoloc">
25 La geolocalisation n'a pas donné un résultat certain, valide la nouvelle adresse
26 ou modifie l'ancienne pour que ton adresse puisse être prise en compte.
31 <textarea name="{$prefname}[text]" cols="30" rows="4" onkeyup="addressChanged({$id})"
32 {if $address.geoloc}class="error"{/if}>{$address.text}</textarea>
34 <textarea cols="30" rows="4" class="valid {$prefid}_geoloc"
35 name="{$prefname}[geoloc]">{$address.geoloc}</textarea>
37 <div class="center {$prefid}_geoloc">
38 <a href="javascript:validGeoloc('{$id}', 0)">Valider ta version</a>
40 <a href="javascript:validGeoloc('{$id}', 1)">Valider la version géolocalisée</a>
44 <input type="hidden" name="{$prefname}[geoloc_choice]" value="1" />
45 <input type="hidden" name="{$prefname}[geoloc]" value="{$address.geoloc}" />
46 <input type="hidden" name="{$prefname}[updateTime]" value="{$address.updateTime}" />
48 <input type="hidden" name="{$prefname}[type]" value="{$address.type}" />
49 <input type="hidden" name="{$prefname}[accuracy]" value="{$address.accuracy}" />
50 <input type="hidden" name="{$prefname}[postalAddress]" value="{$address.postalAddress}" />
51 <input type="hidden" name="{$prefname}[line1]" value="{$address.line1}" />
52 <input type="hidden" name="{$prefname}[line2]" value="{$address.line2}" />
53 <input type="hidden" name="{$prefname}[line3]" value="{$address.line3}" />
54 <input type="hidden" name="{$prefname}[postalCode]" value="{$address.postalCode}" />
55 <input type="hidden" name="{$prefname}[administrativeAreaId]" value="{$address.administrativeAreaId}" />
56 <input type="hidden" name="{$prefname}[subAdministrativeAreaId]" value="{$address.subAdministrativeAreaId}" />
57 <input type="hidden" name="{$prefname}[locality]" value="{$address.locality}" />
58 <input type="hidden" name="{$prefname}[administrativeArea]" value="{$address.administrativeArea}" />
59 <input type="hidden" name="{$prefname}[subAdministrativeArea]" value="{$address.subAdministrativeArea}" />
60 <input type="hidden" name="{$prefname}[localityId]" value="{$address.localityId}" />
61 <input type="hidden" name="{$prefname}[countryId]" value="{$address.countryId}" />
62 <input type="hidden" name="{$prefname}[latitude]" value="{$address.latitude}" />
63 <input type="hidden" name="{$prefname}[longitude]" value="{$address.longitude}" />
64 <input type="hidden" name="{$prefname}[north]" value="{$address.north}" />
65 <input type="hidden" name="{$prefname}[south]" value="{$address.south}" />
66 <input type="hidden" name="{$prefname}[east]" value="{$address.east}" />
67 <input type="hidden" name="{$prefname}[west]" value="{$address.west}" />
68 <input type="hidden" name="{$prefname}[cedex]" value="{$address.cedex}" />
69 <input type="hidden" name="{$prefname}[updateTime]" value="{$address.updateTime}" />
70 <input type="hidden" name="{$prefname}[changed]" value="0" />
71 <input type="hidden" name="{$prefname}[removed]" value="0" />
73 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}