643,7 → 643,9 |
GEN_AttributsBody('onload', 'load()'); |
$html_bouton = '<tr> |
<td style="text-align:left;padding:5px;" colspan="2"> |
<input onclick="showAddress();" name="chercher_sur_carte" value="'.VERIFIER_MON_ADRESSE.'" type="button" /><span class="symbole_obligatoire"> *</span></td> |
<input onclick="showAddress();" name="chercher_sur_carte" value="'.VERIFIER_MON_ADRESSE.'" type="button" />'; |
if ($obligatoire) $html_bouton .= '<span class="symbole_obligatoire"> *</span>'; |
$html_bouton .= '</td> |
</tr>'; |
$formtemplate->addElement('html', $html_bouton); |
|
650,9 → 652,10 |
$formtemplate->addElement('html', '<tr><td colspan="2"><div id="map" style="width: 600px; height: 450px"></div></td></tr>'); |
$formtemplate->addElement('text', 'latitude', LATITUDE, array('id' => 'latitude', 'size' => 6, 'readonly' => 'readonly')); |
$formtemplate->addElement('text', 'longitude', LONGITUDE, array('id' => 'longitude', 'size' => 6, 'readonly' => 'readonly')); |
if ($obligatoire) { |
$formtemplate->addRule ('latitude', LATITUDE . ' obligatoire', 'required', '', 'client'); |
$formtemplate->addRule ('longitude', LONGITUDE . ' obligatoire', 'required', '', 'client'); |
|
} |
/* |
include_once GEN_CHEMIN_API.'formulaire/formulaire.fonct.google.php'; |
GEN_stockerCodeScript($script);*/ |
661,6 → 664,9 |
/* +--Fin du code ----------------------------------------------------------------------------------------+ |
* |
* $Log$ |
* Revision 1.12.2.1 2007-12-06 10:12:01 alexandre_tb |
* appel de la fonction GEN_AttributsBody dans le composant carte_google |
* |
* Revision 1.12 2007-10-22 09:15:16 alexandre_tb |
* modification de l include pour qu il prenne en compte la langue |
* |