Subversion Repositories Applications.papyrus

Compare Revisions

Ignore whitespace Rev 1489 → Rev 1490

/trunk/client/bottin/bibliotheque/inscription.class.php
19,7 → 19,7
// | License along with this library; if not, write to the Free Software |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
// +------------------------------------------------------------------------------------------------------+
// CVS : $Id: inscription.class.php,v 1.22 2007-06-25 09:59:03 alexandre_tb Exp $
// CVS : $Id: inscription.class.php,v 1.23 2007-06-26 09:32:33 neiluj Exp $
/**
* Inscription
*
31,7 → 31,7
*@author Alexandre GRANIER <alexandre@tela-botanica.org>
//Autres auteurs :
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.22 $ $Date: 2007-06-25 09:59:03 $
*@version $Revision: 1.23 $ $Date: 2007-06-26 09:32:33 $
// +------------------------------------------------------------------------------------------------------+
*/
 
204,14 → 204,16
setLatLonForm(marker);
}
});' ;
if ($this->getElementValue ('latitude') != '' && $this->getElementValue('longitude') != '') {
$script .= '
point = new GLatLng('.$this->getElementValue('latitude').', '.$this->getElementValue('longitude').');
marker = new GMarker(point, {draggable: true});
map.addOverlay(marker);' ;
}
$script .= 'geocoder = new GClientGeocoder();
}
if($_REQUEST['action'] == 'modifier') {
if ($this->getElementValue ('latitude') != '' && $this->getElementValue('longitude') != '') {
$script .= '
point = new GLatLng('.$this->getElementValue('latitude').', '.$this->getElementValue('longitude').');
marker = new GMarker(point, {draggable: true});
map.addOverlay(marker);' ;
}
}
$script .= 'geocoder = new GClientGeocoder();
};
function showAddress() {
var adress_1 = document.getElementById("a_adresse1").value ;