Subversion Repositories Applications.papyrus

Compare Revisions

Ignore whitespace Rev 1488 → 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 ;
/trunk/client/bottin/bibliotheque/bottin.fonct.php
788,7 → 788,8
if (is_int($tableau[$i]['nom_bdd'])) {
} else {
$requete .= $tableau[$i]['nom_bdd'].'="'.$valeur[$tableau[$i]['nom_bdd']].'",';
if(isset($valeur[$tableau[$i]['nom_bdd']]))
$requete .= $tableau[$i]['nom_bdd'].'="'.$valeur[$tableau[$i]['nom_bdd']].'",';
}
}
//cas des fichiers
1331,6 → 1332,9
//-- Fin du code source ------------------------------------------------------------
/*
* $Log$
* Revision 1.17 2007-06-25 15:37:57 alexandre_tb
* correction de bug
*
* Revision 1.16 2007-06-25 09:59:03 alexandre_tb
* ajout de carte_google, mise en place des templates avec api/formulaire, configuration de multiples inscriptions, ajout de modele pour les mails
*