| 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: formulaire.fonct.google.php,v 1.2 2007-07-04 11:52:55 alexandre_tb Exp $
|
22 |
// CVS : $Id: formulaire.fonct.google.php,v 1.3 2007-08-27 12:20:06 alexandre_tb Exp $
|
| 23 |
/**
|
23 |
/**
|
| 24 |
* Formulaire
|
24 |
* Formulaire
|
| 25 |
*
|
25 |
*
|
| 26 |
* Les fonctions et script specifique a un carto google
|
26 |
* Les fonctions et script specifique a un carto google
|
| 27 |
*
|
27 |
*
|
| 28 |
*@package api/formulaire
|
28 |
*@package api/formulaire
|
| 29 |
//Auteur original :
|
29 |
//Auteur original :
|
| 30 |
*@author Aleandre GRANIER <alexandre@tela-botanica.org>
|
30 |
*@author Aleandre GRANIER <alexandre@tela-botanica.org>
|
| 31 |
*@copyright Tela-Botanica 2000-2007
|
31 |
*@copyright Tela-Botanica 2000-2007
|
| 32 |
*@version $Revision: 1.2 $
|
32 |
*@version $Revision: 1.3 $
|
| 33 |
// +------------------------------------------------------------------------------------------------------+
|
33 |
// +------------------------------------------------------------------------------------------------------+
|
| 34 |
*/
|
34 |
*/
|
| Line 35... |
Line 35... |
| 35 |
|
35 |
|
| 36 |
$script = '
|
36 |
$script = '
|
| Line 84... |
Line 84... |
| 84 |
$script .= 'geocoder = new GClientGeocoder();
|
84 |
$script .= 'geocoder = new GClientGeocoder();
|
| 85 |
}
|
85 |
}
|
| 86 |
};
|
86 |
};
|
| 87 |
function showAddress() {
|
87 |
function showAddress() {
|
| 88 |
var adresse = document.getElementById("bf_adresse").value ;
|
88 |
var adresse = document.getElementById("bf_adresse").value ;
|
| - |
|
89 |
if (document.getElementById("bf_ville")) {
|
| 89 |
var ville = document.getElementById("bf_ville").value ;
|
90 |
var ville = document.getElementById("bf_ville").value ;
|
| - |
|
91 |
} else {
|
| - |
|
92 |
var ville = "";
|
| - |
|
93 |
}
|
| 90 |
var cp = document.getElementById("bf_cp_lieu_evenement").value ;
|
94 |
var cp = document.getElementById("bf_cp_lieu_evenement").value ;
|
| 91 |
if (document.getElementById("liste30")) {
|
95 |
if (document.getElementById("liste30")) {
|
| 92 |
var selectIndex = document.getElementById("liste30").selectedIndex;
|
96 |
var selectIndex = document.getElementById("liste30").selectedIndex;
|
| 93 |
var pays = document.getElementById("liste30").options[selectIndex].text ;
|
97 |
var pays = document.getElementById("liste30").options[selectIndex].text ;
|
| 94 |
} else {
|
98 |
} else {
|
| Line 131... |
Line 135... |
| 131 |
|
135 |
|
| 132 |
/*
|
136 |
/*
|
| 133 |
* +--Fin du code ----------------------------------------------------------------------------------------+
|
137 |
* +--Fin du code ----------------------------------------------------------------------------------------+
|
| 134 |
*
|
138 |
*
|
| - |
|
139 |
* $Log: not supported by cvs2svn $
|
| - |
|
140 |
* Revision 1.2 2007-07-04 11:52:55 alexandre_tb
|
| - |
|
141 |
* fonctionne mais en cours de développement
|
| 135 |
* $Log: not supported by cvs2svn $
|
142 |
*
|
| 136 |
* Revision 1.1 2007-06-25 09:52:36 alexandre_tb
|
143 |
* Revision 1.1 2007-06-25 09:52:36 alexandre_tb
|
| 137 |
* version intiale -- en cours
|
144 |
* version intiale -- en cours
|
| 138 |
*
|
145 |
*
|
| 139 |
*
|
146 |
*
|