Line 17... |
Line 17... |
17 |
// | |
|
17 |
// | |
|
18 |
// | You should have received a copy of the GNU Lesser General Public |
|
18 |
// | You should have received a copy of the GNU Lesser General Public |
|
19 |
// | License along with this library; if not, write to the Free Software |
|
19 |
// | License along with this library; if not, write to the Free Software |
|
20 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
20 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
21 |
// +------------------------------------------------------------------------------------------------------+
|
21 |
// +------------------------------------------------------------------------------------------------------+
|
22 |
// CVS : $Id: inscription.class.php,v 1.25 2007-09-06 14:55:16 alexandre_tb Exp $
|
22 |
// CVS : $Id: inscription.class.php,v 1.26 2007-09-18 08:37:40 alexandre_tb Exp $
|
23 |
/**
|
23 |
/**
|
24 |
* Inscription
|
24 |
* Inscription
|
25 |
*
|
25 |
*
|
26 |
* Un module d'inscription, en general ce code est specifique a
|
26 |
* Un module d'inscription, en general ce code est specifique a
|
27 |
* un site web
|
27 |
* un site web
|
Line 29... |
Line 29... |
29 |
*@package inscription
|
29 |
*@package inscription
|
30 |
//Auteur original :
|
30 |
//Auteur original :
|
31 |
*@author Alexandre GRANIER <alexandre@tela-botanica.org>
|
31 |
*@author Alexandre GRANIER <alexandre@tela-botanica.org>
|
32 |
//Autres auteurs :
|
32 |
//Autres auteurs :
|
33 |
*@copyright Tela-Botanica 2000-2004
|
33 |
*@copyright Tela-Botanica 2000-2004
|
34 |
*@version $Revision: 1.25 $ $Date: 2007-09-06 14:55:16 $
|
34 |
*@version $Revision: 1.26 $ $Date: 2007-09-18 08:37:40 $
|
35 |
// +------------------------------------------------------------------------------------------------------+
|
35 |
// +------------------------------------------------------------------------------------------------------+
|
36 |
*/
|
36 |
*/
|
Line 37... |
Line 37... |
37 |
|
37 |
|
38 |
// +------------------------------------------------------------------------------------------------------+
|
38 |
// +------------------------------------------------------------------------------------------------------+
|
Line 219... |
Line 219... |
219 |
$script .= 'geocoder = new GClientGeocoder();
|
219 |
$script .= 'geocoder = new GClientGeocoder();
|
220 |
};' .
|
220 |
};' .
|
221 |
'}
|
221 |
'}
|
222 |
function showAddress() {
|
222 |
function showAddress() {
|
223 |
var adress_1 = document.getElementById("a_adresse1").value ;
|
223 |
var adress_1 = document.getElementById("a_adresse1").value ;
|
- |
|
224 |
if (document.getElementById("a_adresse2")) ' .
|
224 |
var adress_2 = document.getElementById("a_adresse2").value ;
|
225 |
' var adress_2 = document.getElementById("a_adresse2").value ;' .
|
- |
|
226 |
' else var adress_2 = "";
|
225 |
var ville = document.getElementById("a_ville").value ;
|
227 |
var ville = document.getElementById("a_ville").value ;
|
226 |
var cp = document.getElementById("a_code_postal").value ;
|
228 |
var cp = document.getElementById("a_code_postal").value ;
|
227 |
if (document.getElementById("a_ce_pays").type == "select-one") {
|
229 |
if (document.getElementById("a_ce_pays").type == "select-one") {
|
228 |
var selectIndex = document.getElementById("a_ce_pays").selectedIndex;
|
230 |
var selectIndex = document.getElementById("a_ce_pays").selectedIndex;
|
229 |
var pays = document.getElementById("a_ce_pays").options[selectIndex].text ;
|
231 |
var pays = document.getElementById("a_ce_pays").options[selectIndex].text ;
|